Skip to main content

transit_gateway_route_table_propagations

Creates, updates, deletes, gets or lists a transit_gateway_route_table_propagations resource.

Overview

Nametransit_gateway_route_table_propagations
TypeResource
Idaws.ec2.transit_gateway_route_table_propagations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_idstringThe ID of the resource.
resource_typestringThe type of resource. Note that the tgw-peering resource type has been deprecated.
statestringThe state of the resource.
transit_gateway_attachment_idstringThe ID of the attachment.
transit_gateway_route_table_announcement_idstringThe ID of the transit gateway route table announcement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_transit_gateway_route_table_propagationsselectTransitGatewayRouteTableId, regionFilter, MaxResults, NextToken, DryRunGets 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.

NameDatatypeDescription
TransitGatewayRouteTableIdstringThe ID of the transit gateway route table.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
FilterarrayOne 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.
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.

SELECT examples

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 }}'
;