Skip to main content

transit_gateway_peering_attachment

Gets or updates an individual transit_gateway_peering_attachment resource, use transit_gateway_peering_attachments to retrieve a list of resources or to create or delete a resource.

Overview

Nametransit_gateway_peering_attachment
TypeResource
DescriptionThe AWS::EC2::TransitGatewayPeeringAttachment type
Idaws.ec2.transit_gateway_peering_attachment

Fields

NameDatatypeDescription
statusobjectThe status of the transit gateway peering attachment.
transit_gateway_idstringThe ID of the transit gateway.
peer_transit_gateway_idstringThe ID of the peer transit gateway.
peer_account_idstringThe ID of the peer account
statestringThe state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
creation_timestringThe time the transit gateway peering attachment was created.
peer_regionstringPeer Region
tagsarrayThe tags for the transit gateway peering attachment.
transit_gateway_attachment_idstringThe ID of the transit gateway peering attachment.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
status,
transit_gateway_id,
peer_transit_gateway_id,
peer_account_id,
state,
creation_time,
peer_region,
tags,
transit_gateway_attachment_id
FROM aws.ec2.transit_gateway_peering_attachment
WHERE region = 'us-east-1' AND data__Identifier = '<TransitGatewayAttachmentId>';

Permissions

To operate on the transit_gateway_peering_attachment resource, the following permissions are required:

Read

ec2:DescribeTransitGatewayPeeringAttachments

Update

ec2:DescribeTransitGatewayPeeringAttachments