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.

CreateVpcLinkInput

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

type CreateVpcLinkInput struct { Description *string `locationName:"description" type:"string"` Name *string `locationName:"name" type:"string" required:"true"` TargetArns []*string `locationName:"targetArns" type:"list" required:"true"` }

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

Description

Type: *string

The description of the VPC link.

Name

Type: *string

[Required] The name used to label and identify the VPC link.

Name is a required field

TargetArns

Type: []*string

[Required] The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

TargetArns is a required field

Method

GoString

func (s CreateVpcLinkInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreateVpcLinkInput) SetDescription(v string) *CreateVpcLinkInput

SetDescription sets the Description field's value.

SetName

func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput

SetName sets the Name field's value.

SetTargetArns

func (s *CreateVpcLinkInput) SetTargetArns(v []*string) *CreateVpcLinkInput

SetTargetArns sets the TargetArns field's value.

String

func (s CreateVpcLinkInput) String() string

String returns the string representation

Validate

func (s *CreateVpcLinkInput) Validate() error

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

On this page: