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.

CreateTransitGatewayVpcAttachmentRequestOptions

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

type CreateTransitGatewayVpcAttachmentRequestOptions struct { DnsSupport *string `type:"string" enum:"DnsSupportValue"` Ipv6Support *string `type:"string" enum:"Ipv6SupportValue"` }

Describes the options for a VPC attachment.

DnsSupport

Type: *string

Enable or disable DNS support. The default is enable.

Ipv6Support

Type: *string

Enable or disable IPv6 support. The default is enable.

Method

GoString

func (s CreateTransitGatewayVpcAttachmentRequestOptions) GoString() string

GoString returns the string representation

SetDnsSupport

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

SetDnsSupport sets the DnsSupport field's value.

SetIpv6Support

func (s *CreateTransitGatewayVpcAttachmentRequestOptions) SetIpv6Support(v string) *CreateTransitGatewayVpcAttachmentRequestOptions

SetIpv6Support sets the Ipv6Support field's value.

String

func (s CreateTransitGatewayVpcAttachmentRequestOptions) String() string

String returns the string representation

On this page: