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.

CreateVpcEndpointServiceConfigurationInput

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

type CreateVpcEndpointServiceConfigurationInput struct { AcceptanceRequired *bool `type:"boolean"` ClientToken *string `type:"string"` DryRun *bool `type:"boolean"` NetworkLoadBalancerArns []*string `locationName:"NetworkLoadBalancerArn" locationNameList:"item" type:"list" required:"true"` }

AcceptanceRequired

Type: *bool

Indicate whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections.

ClientToken

Type: *string

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).

DryRun

Type: *bool

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

NetworkLoadBalancerArns

Type: []*string

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

NetworkLoadBalancerArns is a required field

Method

GoString

func (s CreateVpcEndpointServiceConfigurationInput) GoString() string

GoString returns the string representation

SetAcceptanceRequired

func (s *CreateVpcEndpointServiceConfigurationInput) SetAcceptanceRequired(v bool) *CreateVpcEndpointServiceConfigurationInput

SetAcceptanceRequired sets the AcceptanceRequired field's value.

SetClientToken

func (s *CreateVpcEndpointServiceConfigurationInput) SetClientToken(v string) *CreateVpcEndpointServiceConfigurationInput

SetClientToken sets the ClientToken field's value.

SetDryRun

func (s *CreateVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *CreateVpcEndpointServiceConfigurationInput

SetDryRun sets the DryRun field's value.

SetNetworkLoadBalancerArns

func (s *CreateVpcEndpointServiceConfigurationInput) SetNetworkLoadBalancerArns(v []*string) *CreateVpcEndpointServiceConfigurationInput

SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value.

String

func (s CreateVpcEndpointServiceConfigurationInput) String() string

String returns the string representation

Validate

func (s *CreateVpcEndpointServiceConfigurationInput) Validate() error

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

On this page: