Show / Hide Table of Contents

Class CfnTransitGatewayProps

Properties for defining a CfnTransitGateway.

Inheritance
object
CfnTransitGatewayProps
Implements
ICfnTransitGatewayProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnTransitGateway.

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

double?

Remarks

The range is 64512 to 65534 for 16-bit ASNs. The default is 64512.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-amazonsideasn

AssociationDefaultRouteTableId

The ID of the default association route table.

public string? AssociationDefaultRouteTableId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-associationdefaultroutetableid

AutoAcceptSharedAttachments

Enable or disable automatic acceptance of attachment requests.

public string? AutoAcceptSharedAttachments { get; set; }
Property Value

string

Remarks

Disabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-autoacceptsharedattachments

DefaultRouteTableAssociation

Enable or disable automatic association with the default association route table.

public string? DefaultRouteTableAssociation { get; set; }
Property Value

string

Remarks

Enabled by default. If DefaultRouteTableAssociation is set to enable, AWS Transit Gateway will create the default transit gateway route table.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-defaultroutetableassociation

DefaultRouteTablePropagation

Enable or disable automatic propagation of routes to the default propagation route table.

public string? DefaultRouteTablePropagation { get; set; }
Property Value

string

Remarks

Enabled by default. If DefaultRouteTablePropagation is set to enable, AWS Transit Gateway will create the default transit gateway route table.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-defaultroutetablepropagation

Description

The description of the transit gateway.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-description

DnsSupport

Enable or disable DNS support.

public string? DnsSupport { get; set; }
Property Value

string

Remarks

Enabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-dnssupport

EncryptionSupport

Enable or disable encryption support.

public string? EncryptionSupport { get; set; }
Property Value

string

Remarks

Disabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-encryptionsupport

MulticastSupport

Indicates whether multicast is enabled on the transit gateway.

public string? MulticastSupport { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-multicastsupport

PropagationDefaultRouteTableId

The ID of the default propagation route table.

public string? PropagationDefaultRouteTableId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-propagationdefaultroutetableid

SecurityGroupReferencingSupport

Enables you to reference a security group across VPCs attached to a transit gateway (TGW).

public string? SecurityGroupReferencingSupport { get; set; }
Property Value

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-securitygroupreferencingsupport

Tags

The tags for the transit gateway.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-tags

TransitGatewayCidrBlocks

The transit gateway CIDR blocks.

public string[]? TransitGatewayCidrBlocks { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-transitgatewaycidrblocks

VpnEcmpSupport

Enable or disable Equal Cost Multipath Protocol support.

public string? VpnEcmpSupport { get; set; }
Property Value

string

Remarks

Enabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-vpnecmpsupport

Implements

ICfnTransitGatewayProps
Back to top Generated by DocFX