AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

TransitGatewayRequestOptions

import "github.com/aws/aws-sdk-go/service/ec2"

type TransitGatewayRequestOptions struct { AmazonSideAsn *int64 `type:"long"` AutoAcceptSharedAttachments *string `type:"string" enum:"AutoAcceptSharedAttachmentsValue"` DefaultRouteTableAssociation *string `type:"string" enum:"DefaultRouteTableAssociationValue"` DefaultRouteTablePropagation *string `type:"string" enum:"DefaultRouteTablePropagationValue"` DnsSupport *string `type:"string" enum:"DnsSupportValue"` VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"` }

Describes the options for a transit gateway.

AmazonSideAsn

Type: *int64

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.

AutoAcceptSharedAttachments

Type: *string

Enable or disable automatic acceptance of attachment requests. The default is disable.

DefaultRouteTableAssociation

Type: *string

Enable or disable automatic association with the default association route table. The default is enable.

DefaultRouteTablePropagation

Type: *string

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

DnsSupport

Type: *string

Enable or disable DNS support.

VpnEcmpSupport

Type: *string

Enable or disable Equal Cost Multipath Protocol support.

Method

GoString

func (s TransitGatewayRequestOptions) GoString() string

GoString returns the string representation

SetAmazonSideAsn

func (s *TransitGatewayRequestOptions) SetAmazonSideAsn(v int64) *TransitGatewayRequestOptions

SetAmazonSideAsn sets the AmazonSideAsn field's value.

SetAutoAcceptSharedAttachments

func (s *TransitGatewayRequestOptions) SetAutoAcceptSharedAttachments(v string) *TransitGatewayRequestOptions

SetAutoAcceptSharedAttachments sets the AutoAcceptSharedAttachments field's value.

SetDefaultRouteTableAssociation

func (s *TransitGatewayRequestOptions) SetDefaultRouteTableAssociation(v string) *TransitGatewayRequestOptions

SetDefaultRouteTableAssociation sets the DefaultRouteTableAssociation field's value.

SetDefaultRouteTablePropagation

func (s *TransitGatewayRequestOptions) SetDefaultRouteTablePropagation(v string) *TransitGatewayRequestOptions

SetDefaultRouteTablePropagation sets the DefaultRouteTablePropagation field's value.

SetDnsSupport

func (s *TransitGatewayRequestOptions) SetDnsSupport(v string) *TransitGatewayRequestOptions

SetDnsSupport sets the DnsSupport field's value.

SetVpnEcmpSupport

func (s *TransitGatewayRequestOptions) SetVpnEcmpSupport(v string) *TransitGatewayRequestOptions

SetVpnEcmpSupport sets the VpnEcmpSupport field's value.

String

func (s TransitGatewayRequestOptions) String() string

String returns the string representation

On this page: