transit_gateway_route_table_propagations
Creates, updates, deletes, gets or lists a transit_gateway_route_table_propagations resource.
Overview
| Name | transit_gateway_route_table_propagations |
| Type | Resource |
| Id | aws.ec2.transit_gateway_route_table_propagations |
Fields
The following fields are returned by SELECT queries:
- get_transit_gateway_route_table_propagations
| Name | Datatype | Description |
|---|---|---|
resource_id | string | The ID of the resource. |
resource_type | string | The type of resource. Note that the tgw-peering resource type has been deprecated. |
state | string | The state of the resource. |
transit_gateway_attachment_id | string | The ID of the attachment. |
transit_gateway_route_table_announcement_id | string | The ID of the transit gateway route table announcement. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_transit_gateway_route_table_propagations | select | TransitGatewayRouteTableId, region | Filter, MaxResults, NextToken, DryRun | Gets information about the route table propagations for the specified transit gateway route table. |
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 |
|---|---|---|
TransitGatewayRouteTableId | string | The ID of the transit gateway route 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 | One or more filters. The possible values are: resource-id - The ID of the resource. resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect. transit-gateway-attachment-id - The ID of the attachment. |
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_route_table_propagations
Gets information about the route table propagations for the specified transit gateway route table.
SELECT
resource_id,
resource_type,
state,
transit_gateway_attachment_id,
transit_gateway_route_table_announcement_id
FROM aws.ec2.transit_gateway_route_table_propagations
WHERE TransitGatewayRouteTableId = '{{ TransitGatewayRouteTableId }}' -- required
AND region = '{{ region }}' -- required
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;