Skip to content

aws.ec2.transit_gateway_attachment

CloudFormation Type: AWS::EC2::TransitGatewayAttachment

Describes a VPC attachment.

Argument Reference

options

The VPC attachment options.

subnet_ids

  • Type: List<SubnetId>
  • Required: Yes

The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

transit_gateway_id

  • Type: transit_gateway_id
  • Required: Yes

The ID of the transit gateway.

vpc_id

  • Type: VpcId
  • Required: Yes

The ID of the VPC.

tags

  • Type: Map
  • Required: No

The tags for the resource.

Struct Definitions

CreateTransitGatewayVpcAttachmentRequestOptions

FieldTypeRequiredDescription
appliance_mode_supportEnum (ApplianceModeSupport)NoEnable or disable support for appliance mode. If enabled, a traffic flow between a source and destin…
dns_supportEnum (DnsSupport)NoEnable or disable DNS support. The default is enable.
ipv6_supportEnum (Ipv6Support)NoEnable or disable IPv6 support. The default is disable.
security_group_referencing_supportEnum (SecurityGroupReferencingSupport)NoEnables you to reference a security group across VPCs attached to a transit gateway to simplify secu…

Attribute Reference

transit_gateway_attachment_id

  • Type: String