Skip to main content

transit_gateway_attachment

Gets an individual transit_gateway_attachment resource

Overview

Nametransit_gateway_attachment
TypeResource
Descriptiontransit_gateway_attachment
Idawscc.ec2.transit_gateway_attachment

Fields

NameDatatypeDescription
idstring
transit_gateway_idstring
vpc_idstring
subnet_idsarray
tagsarray
optionsobjectThe options for the transit gateway vpc attachment.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
transit_gateway_id,
vpc_id,
subnet_ids,
tags,
options
FROM awscc.ec2.transit_gateway_attachment
WHERE data__Identifier = '<Id>';

Permissions

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

Read

ec2:DescribeTransitGatewayAttachments,
ec2:DescribeTransitGatewayVpcAttachments,
ec2:CreateTransitGatewayVpcAttachment,
ec2:DeleteTransitGatewayVpcAttachment,
ec2:CreateTags,
ec2:DeleteTags,
ec2:DescribeTags,
ec2:DescribeTransitGatewayAttachments,
ec2:ModifyTransitGatewayVpcAttachment

Delete

ec2:DescribeTransitGatewayAttachments,
ec2:DescribeTransitGatewayVpcAttachments,
ec2:CreateTransitGatewayVpcAttachment,
ec2:DeleteTransitGatewayVpcAttachment,
ec2:CreateTags,
ec2:DeleteTags,
ec2:DescribeTags,
ec2:DescribeTransitGatewayAttachments,
ec2:ModifyTransitGatewayVpcAttachment

Update

ec2:DescribeTransitGatewayAttachments,
ec2:DescribeTransitGatewayVpcAttachments,
ec2:DescribeTags,
ec2:CreateTransitGatewayVpcAttachment,
ec2:CreateTags,
ec2:DeleteTransitGatewayVpcAttachment,
ec2:DeleteTags,
ec2:ModifyTransitGatewayVpcAttachment