Skip to main content

transit_gateway_vpc_attachment

Gets an individual transit_gateway_vpc_attachment resource

Overview

Nametransit_gateway_vpc_attachment
TypeResource
Descriptiontransit_gateway_vpc_attachment
Idawscc.ec2.transit_gateway_vpc_attachment

Fields

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

Methods

Currently only SELECT is supported for this resource resource.

Example

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

Permissions

To operate on the transit_gateway_vpc_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

Update

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

Delete

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