Class CfnTransitGatewayProps
Properties for defining a CfnTransitGateway
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayProps : Object, ICfnTransitGatewayProps
Syntax (vb)
Public Class CfnTransitGatewayProps
Inherits Object
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",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
};
Synopsis
Constructors
CfnTransitGatewayProps() |
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. |
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()
public CfnTransitGatewayProps()
Properties
AmazonSideAsn
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
public Nullable<double> AmazonSideAsn { get; set; }
Property Value
System.Nullable<System.Double>
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
System.String
Remarks
AutoAcceptSharedAttachments
Enable or disable automatic acceptance of attachment requests.
public string AutoAcceptSharedAttachments { get; set; }
Property Value
System.String
Remarks
DefaultRouteTableAssociation
Enable or disable automatic association with the default association route table.
public string DefaultRouteTableAssociation { get; set; }
Property Value
System.String
Remarks
DefaultRouteTablePropagation
Enable or disable automatic propagation of routes to the default propagation route table.
public string DefaultRouteTablePropagation { get; set; }
Property Value
System.String
Remarks
Description
The description of the transit gateway.
public string Description { get; set; }
Property Value
System.String
Remarks
DnsSupport
Enable or disable DNS support.
public string DnsSupport { get; set; }
Property Value
System.String
Remarks
MulticastSupport
Indicates whether multicast is enabled on the transit gateway.
public string MulticastSupport { get; set; }
Property Value
System.String
Remarks
PropagationDefaultRouteTableId
The ID of the default propagation route table.
public string PropagationDefaultRouteTableId { get; set; }
Property Value
System.String
Remarks
SecurityGroupReferencingSupport
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
public string SecurityGroupReferencingSupport { get; set; }
Property Value
System.String
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
System.String[]
Remarks
VpnEcmpSupport
Enable or disable Equal Cost Multipath Protocol support.
public string VpnEcmpSupport { get; set; }
Property Value
System.String