interface CfnTransitGatewayProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnTransitGatewayProps |
![]() | software.amazon.awscdk.services.ec2.CfnTransitGatewayProps |
![]() | aws_cdk.aws_ec2.CfnTransitGatewayProps |
![]() | @aws-cdk/aws-ec2 » CfnTransitGatewayProps |
Properties for defining a CfnTransitGateway
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const cfnTransitGatewayProps: ec2.CfnTransitGatewayProps = {
amazonSideAsn: 123,
associationDefaultRouteTableId: 'associationDefaultRouteTableId',
autoAcceptSharedAttachments: 'autoAcceptSharedAttachments',
defaultRouteTableAssociation: 'defaultRouteTableAssociation',
defaultRouteTablePropagation: 'defaultRouteTablePropagation',
description: 'description',
dnsSupport: 'dnsSupport',
multicastSupport: 'multicastSupport',
propagationDefaultRouteTableId: 'propagationDefaultRouteTableId',
tags: [{
key: 'key',
value: 'value',
}],
transitGatewayCidrBlocks: ['transitGatewayCidrBlocks'],
vpnEcmpSupport: 'vpnEcmpSupport',
};
Properties
Name | Type | Description |
---|---|---|
amazon | number | A private Autonomous System Number (ASN) for the Amazon side of a BGP session. |
association | string | The ID of the default association route table. |
auto | string | Enable or disable automatic acceptance of attachment requests. |
default | string | Enable or disable automatic association with the default association route table. |
default | string | Enable or disable automatic propagation of routes to the default propagation route table. |
description? | string | The description of the transit gateway. |
dns | string | Enable or disable DNS support. |
multicast | string | Indicates whether multicast is enabled on the transit gateway. |
propagation | string | The ID of the default propagation route table. |
tags? | Cfn [] | The tags for the transit gateway. |
transit | string[] | The transit gateway CIDR blocks. |
vpn | string | Enable or disable Equal Cost Multipath Protocol support. |
amazonSideAsn?
Type:
number
(optional)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
The range is 64512 to 65534 for 16-bit ASNs. The default is 64512.
associationDefaultRouteTableId?
Type:
string
(optional)
The ID of the default association route table.
autoAcceptSharedAttachments?
Type:
string
(optional)
Enable or disable automatic acceptance of attachment requests.
Disabled by default.
defaultRouteTableAssociation?
Type:
string
(optional)
Enable or disable automatic association with the default association route table.
Enabled by default.
defaultRouteTablePropagation?
Type:
string
(optional)
Enable or disable automatic propagation of routes to the default propagation route table.
Enabled by default.
description?
Type:
string
(optional)
The description of the transit gateway.
dnsSupport?
Type:
string
(optional)
Enable or disable DNS support.
Enabled by default.
multicastSupport?
Type:
string
(optional)
Indicates whether multicast is enabled on the transit gateway.
propagationDefaultRouteTableId?
Type:
string
(optional)
The ID of the default propagation route table.
tags?
Type:
Cfn
[]
(optional)
The tags for the transit gateway.
transitGatewayCidrBlocks?
Type:
string[]
(optional)
The transit gateway CIDR blocks.
vpnEcmpSupport?
Type:
string
(optional)
Enable or disable Equal Cost Multipath Protocol support.
Enabled by default.