Readonly
accountThe friendly name of the account to deploy the Transit Gateway.
This is the logical name
property of the account as defined in accounts-config.yaml.
Readonly
asnA Border Gateway Protocol (BGP) Autonomous System Number (ASN).
CAUTION: Changing this value after initial deployment will cause the Transit Gateway to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.
The range is 64512 to 65534 for 16-bit ASNs.
The range is 4200000000 to 4294967294 for 32-bit ASNs.
Readonly
autoEnable this option to automatically accept cross-account attachments.
Readonly
defaultConfigure default route table association.
Enable this option to automatically associate transit gateway attachments with the default route table for the transit gateway.
Readonly
defaultConfigure default route table propagation.
Enable this option to automatically propagate transit gateway attachments to the default route table for the transit gateway.
Readonly
dnsConfigure DNS support between VPCs.
Enable this option if you need 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.
Readonly
nameA friendly name for the Transit Gateway.
CAUTION: Changing this value after initial deployment will cause the Transit Gateway to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.
Readonly
regionThe region name to deploy the Transit Gateway.
Readonly
routeReadonly
share(OPTIONAL) Resource Access Manager (RAM) share targets.
Targets can be account names and/or organizational units.
Readonly
tags(OPTIONAL) An array of tag objects for the Transit Gateway.
Readonly
vpnEqual Cost Multipath (ECMP) routing support between VPN tunnels.
Enable this option if you need Equal Cost Multipath (ECMP) routing support between VPN tunnels. If connections advertise the same CIDRs, the traffic is distributed equally between them.
Generated using TypeDoc
NetworkConfig / TransitGatewayConfig
Transit Gateway (TGW) configuration. Use this configuration to define Transit Gateways for your environment. A transit gateway acts as a virtual router for traffic flowing between your virtual private clouds (VPCs) and on-premises networks.
The following example creates a TGW called Network-Main in the Network account in the us-east-1 region.
Example