transit_gateway_policy_table_associations
Creates, updates, deletes, gets or lists a transit_gateway_policy_table_associations resource.
Overview
| Name | transit_gateway_policy_table_associations |
| Type | Resource |
| Id | aws.ec2.transit_gateway_policy_table_associations |
Fields
The following fields are returned by SELECT queries:
- get_transit_gateway_policy_table_associations
| Name | Datatype | Description |
|---|---|---|
resource_id | string | The resource ID of the transit gateway attachment. |
resource_type | string | The resource type for the transit gateway policy table association. |
state | string | The state of the transit gateway policy table association. |
transit_gateway_attachment_id | string | The ID of the transit gateway attachment. |
transit_gateway_policy_table_id | string | The ID of the transit gateway policy table. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_transit_gateway_policy_table_associations | select | TransitGatewayPolicyTableId, region | Filter, MaxResults, NextToken, DryRun | Gets a list of the transit gateway policy table associations. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
TransitGatewayPolicyTableId | string | The ID of the transit gateway policy table. |
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
Filter | array | The filters associated with the transit gateway policy table. |
MaxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
NextToken | string | The token for the next page of results. |
SELECT examples
- get_transit_gateway_policy_table_associations
Gets a list of the transit gateway policy table associations.
SELECT
resource_id,
resource_type,
state,
transit_gateway_attachment_id,
transit_gateway_policy_table_id
FROM aws.ec2.transit_gateway_policy_table_associations
WHERE TransitGatewayPolicyTableId = '{{ TransitGatewayPolicyTableId }}' -- required
AND region = '{{ region }}' -- required
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;