Experimental
@aws-cdk/aws-ec2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TransitGatewayProps Struct
Common properties for creating a Transit Gateway resource.
Example
ts
const transitGateway = new TransitGateway(this, 'MyTransitGateway', {
defaultRouteTableAssociation: false,
defaultRouteTablePropagation: false,
});
Properties
amazonSideAsnnumberamazon_side_asnint | floatamazonSideAsnNumberAmazonSideAsndoubleAmazonSideAsn*float64= undefined, 64512 is assigned by …#A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
The range is 64512 to 65534 for 16-bit ASNs.
default
Default: undefined, 64512 is assigned by CloudFormation.
defaultRouteTableAssociationbooleandefault_route_table_associationbooldefaultRouteTableAssociationBooleanDefaultRouteTableAssociationboolDefaultRouteTableAssociation*bool= enable (true)#Enable or disable automatic association with the default association route table.
defaultRouteTablePropagationbooleandefault_route_table_propagationbooldefaultRouteTablePropagationBooleanDefaultRouteTablePropagationboolDefaultRouteTablePropagation*bool= enable (true)#Enable or disable automatic propagation of routes to the default propagation route table.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= no description#The description of the transit gateway.
Enable or disable DNS support.
If dnsSupport is enabled on a VPC Attachment, this also needs to be enabled for the feature to work. Otherwise the resources will still deploy but the feature will not work.
securityGroupReferencingSupportbooleansecurity_group_referencing_supportboolsecurityGroupReferencingSupportBooleanSecurityGroupReferencingSupportboolSecurityGroupReferencingSupport*bool= disable (false)#Enable or disable security group referencing support.
If securityGroupReferencingSupport is enabled on a VPC Attachment, this also needs to be enabled for the feature to work. Otherwise the resources will still deploy but the feature will not work.
transitGatewayCidrBlocksstring[]transit_gateway_cidr_blockstyping.List[str]transitGatewayCidrBlocksList<String>TransitGatewayCidrBlocksstring[]TransitGatewayCidrBlocks*[]*string= none#The transit gateway CIDR blocks.
transitGatewayNamestringtransit_gateway_namestrtransitGatewayNameStringTransitGatewayNamestringTransitGatewayName*string= Assigned by CloudFormation.#Physical name of this Transit Gateway.