Skip to main content

transit_gateway_connect_peer_associations

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

Overview​

Nametransit_gateway_connect_peer_associations
TypeResource
Idaws.networkmanager.transit_gateway_connect_peer_associations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
device_idstringThe ID of the device. (pattern: <code>[\s\S]*</code>)
global_network_idstringThe ID of the global network. (pattern: <code>[\s\S]*</code>)
link_idstringThe ID of the link. (pattern: <code>[\s\S]*</code>)
statestringThe state of the association. (PENDING, AVAILABLE, DELETING, DELETED)
transit_gateway_connect_peer_arnstringThe Amazon Resource Name (ARN) of the transit gateway Connect peer. (pattern: <code>[\s\S]*</code>)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_transit_gateway_connect_peer_associationsselectglobal_network_id, regiontransitGatewayConnectPeerArns, maxResults, nextTokenGets information about one or more of your transit gateway Connect peer associations in a global network.

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
global_network_idstringThe ID of the global network.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return.
nextTokenstringThe token for the next page of results.
transitGatewayConnectPeerArnsarrayOne or more transit gateway Connect peer Amazon Resource Names (ARNs).

SELECT examples​

Gets information about one or more of your transit gateway Connect peer associations in a global network.

SELECT
device_id,
global_network_id,
link_id,
state,
transit_gateway_connect_peer_arn
FROM aws.networkmanager.transit_gateway_connect_peer_associations
WHERE global_network_id = '{{ global_network_id }}' -- required
AND region = '{{ region }}' -- required
AND transitGatewayConnectPeerArns = '{{ transitGatewayConnectPeerArns }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;