aws::transit-gateway

Creates a transit gateway.

Example

aws::transit-gateway transit-gateway-example
   description: "example transit gateway"
   transit-gateway-options
       amazon-side-asn: 64512
       dns-support: enable
       vpn-ecmp-support: enable
       default-route-table-association: disable
       default-route-table-propagation: enable
       auto-accept-shared-attachments: disable
   end

   tags: {
       Name: "Aws EC2 Transit Gateway Resource Example"
   }
end

Attributes

Attribute Description
description The description of the transit gateway.
transit-gateway-options subresource

Options for the transit gateway.

amazon-side-asn
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. Defaults to 64512.
dns-support
Enable the VPC to resolve public IPv4 DNS host names to private IPv4 addresses when queried from instances in another VPC attached to the transit gateway. Defaults to enable. Valid values are enable or disable.
vpn-ecmp-support
Enable Equal Cost Multipath (ECMP) routing support between VPN connections. Defaults to enable. Valid values are enable or disable.
default-route-table-association
Enable to automatically associate transit gateway attachments with the default route table for the transit gateway. Defaults to enable. Valid values are enable or disable.
default-route-table-propagation
Enable to automatically propagate transit gateway attachments to the default route table for the transit gateway. Defaults to enable. Valid values are enable or disable.
auto-accept-shared-attachments
Enable to automatically accept cross-account attachments. Defaults to disable. Valid values are enable or disable.
multicast-support
Enable to support Multicast communication protocol. Defaults to disable. Valid values are enable or disable.

Outputs

Attribute Description
id The ID of the transit gateway.
arn The Amazon Resource Name (ARN) of the transit gateway.
owner-id The ID of the AWS account ID that owns the transit gateway.
association-default-route-table-id The ID of the default association route table.
propagation-default-route-table-id The ID of the default propagation route table.