Class CfnTransitGatewayProps
Properties for defining a CfnTransitGateway.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayProps : ICfnTransitGatewayProps
Syntax (vb)
Public Class CfnTransitGatewayProps Implements ICfnTransitGatewayProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayProps = new CfnTransitGatewayProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
};
Synopsis
Constructors
| CfnTransitGatewayProps() | Properties for defining a |
Properties
| AmazonSideAsn | A private Autonomous System Number (ASN) for the Amazon side of a BGP session. |
| AssociationDefaultRouteTableId | The ID of the default association route table. |
| AutoAcceptSharedAttachments | Enable or disable automatic acceptance of attachment requests. |
| DefaultRouteTableAssociation | Enable or disable automatic association with the default association route table. |
| DefaultRouteTablePropagation | Enable or disable automatic propagation of routes to the default propagation route table. |
| Description | The description of the transit gateway. |
| DnsSupport | Enable or disable DNS support. |
| EncryptionSupport | Enable or disable encryption support. |
| MulticastSupport | Indicates whether multicast is enabled on the transit gateway. |
| PropagationDefaultRouteTableId | The ID of the default propagation route table. |
| SecurityGroupReferencingSupport | Enables you to reference a security group across VPCs attached to a transit gateway (TGW). |
| Tags | The tags for the transit gateway. |
| TransitGatewayCidrBlocks | The transit gateway CIDR blocks. |
| VpnEcmpSupport | Enable or disable Equal Cost Multipath Protocol support. |
Constructors
CfnTransitGatewayProps()
Properties for defining a CfnTransitGateway.
public CfnTransitGatewayProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayProps = new CfnTransitGatewayProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
};
Properties
AmazonSideAsn
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
public double? AmazonSideAsn { get; set; }
Property Value
Remarks
The range is 64512 to 65534 for 16-bit ASNs. The default is 64512.
AssociationDefaultRouteTableId
The ID of the default association route table.
public string? AssociationDefaultRouteTableId { get; set; }
Property Value
Remarks
AutoAcceptSharedAttachments
Enable or disable automatic acceptance of attachment requests.
public string? AutoAcceptSharedAttachments { get; set; }
Property Value
Remarks
DefaultRouteTableAssociation
Enable or disable automatic association with the default association route table.
public string? DefaultRouteTableAssociation { get; set; }
Property Value
Remarks
Enabled by default. If DefaultRouteTableAssociation is set to enable, AWS Transit Gateway will create the default transit gateway route table.
DefaultRouteTablePropagation
Enable or disable automatic propagation of routes to the default propagation route table.
public string? DefaultRouteTablePropagation { get; set; }
Property Value
Remarks
Enabled by default. If DefaultRouteTablePropagation is set to enable, AWS Transit Gateway will create the default transit gateway route table.
Description
The description of the transit gateway.
public string? Description { get; set; }
Property Value
Remarks
DnsSupport
Enable or disable DNS support.
public string? DnsSupport { get; set; }
Property Value
Remarks
EncryptionSupport
Enable or disable encryption support.
public string? EncryptionSupport { get; set; }
Property Value
Remarks
MulticastSupport
Indicates whether multicast is enabled on the transit gateway.
public string? MulticastSupport { get; set; }
Property Value
Remarks
PropagationDefaultRouteTableId
The ID of the default propagation route table.
public string? PropagationDefaultRouteTableId { get; set; }
Property Value
Remarks
SecurityGroupReferencingSupport
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
public string? SecurityGroupReferencingSupport { get; set; }
Property Value
Remarks
Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway in the AWS Transit Gateway Guide .
Tags
The tags for the transit gateway.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TransitGatewayCidrBlocks
The transit gateway CIDR blocks.
public string[]? TransitGatewayCidrBlocks { get; set; }
Property Value
string[]
Remarks
VpnEcmpSupport
Enable or disable Equal Cost Multipath Protocol support.
public string? VpnEcmpSupport { get; set; }