AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the options for a transit gateway.

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z


public class TransitGatewayRequestOptions

The TransitGatewayRequestOptions type exposes the following members



Public Property AmazonSideAsn System.Int64

Gets and sets the property AmazonSideAsn.

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512.

Public Property AutoAcceptSharedAttachments Amazon.EC2.AutoAcceptSharedAttachmentsValue

Gets and sets the property AutoAcceptSharedAttachments.

Enable or disable automatic acceptance of attachment requests. Disabled by default.

Public Property DefaultRouteTableAssociation Amazon.EC2.DefaultRouteTableAssociationValue

Gets and sets the property DefaultRouteTableAssociation.

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

Public Property DefaultRouteTablePropagation Amazon.EC2.DefaultRouteTablePropagationValue

Gets and sets the property DefaultRouteTablePropagation.

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

Public Property DnsSupport Amazon.EC2.DnsSupportValue

Gets and sets the property DnsSupport.

Enable or disable DNS support. Enabled by default.

Public Property MulticastSupport Amazon.EC2.MulticastSupportValue

Gets and sets the property MulticastSupport.

Indicates whether multicast is enabled on the transit gateway

Public Property SecurityGroupReferencingSupport Amazon.EC2.SecurityGroupReferencingSupportValue

Gets and sets the property SecurityGroupReferencingSupport.

This parameter is in preview and may not be available for your account.

Enables you to reference a security group across VPCs attached to a transit gateway. 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.

Public Property TransitGatewayCidrBlocks System.Collections.Generic.List<System.String>

Gets and sets the property TransitGatewayCidrBlocks.

One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

Public Property VpnEcmpSupport Amazon.EC2.VpnEcmpSupportValue

Gets and sets the property VpnEcmpSupport.

Enable or disable Equal Cost Multipath Protocol support. Enabled by default.

Version Information

Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5