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.

AssociateVpcCidrBlockInput

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

type AssociateVpcCidrBlockInput struct { AmazonProvidedIpv6CidrBlock *bool `locationName:"amazonProvidedIpv6CidrBlock" type:"boolean"` CidrBlock *string `type:"string"` VpcId *string `locationName:"vpcId" type:"string" required:"true"` }

AmazonProvidedIpv6CidrBlock

Type: *bool

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.

CidrBlock

Type: *string

An IPv4 CIDR block to associate with the VPC.

VpcId

Type: *string

The ID of the VPC.

VpcId is a required field

Method

GoString

func (s AssociateVpcCidrBlockInput) GoString() string

GoString returns the string representation

SetAmazonProvidedIpv6CidrBlock

func (s *AssociateVpcCidrBlockInput) SetAmazonProvidedIpv6CidrBlock(v bool) *AssociateVpcCidrBlockInput

SetAmazonProvidedIpv6CidrBlock sets the AmazonProvidedIpv6CidrBlock field's value.

SetCidrBlock

func (s *AssociateVpcCidrBlockInput) SetCidrBlock(v string) *AssociateVpcCidrBlockInput

SetCidrBlock sets the CidrBlock field's value.

SetVpcId

func (s *AssociateVpcCidrBlockInput) SetVpcId(v string) *AssociateVpcCidrBlockInput

SetVpcId sets the VpcId field's value.

String

func (s AssociateVpcCidrBlockInput) String() string

String returns the string representation

Validate

func (s *AssociateVpcCidrBlockInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: