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.

AttachElasticLoadBalancerInput

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

type AttachElasticLoadBalancerInput struct { ElasticLoadBalancerName *string `type:"string" required:"true"` LayerId *string `type:"string" required:"true"` }

ElasticLoadBalancerName

Type: *string

The Elastic Load Balancing instance's name.

ElasticLoadBalancerName is a required field

LayerId

Type: *string

The ID of the layer to which the Elastic Load Balancing instance is to be attached.

LayerId is a required field

Method

GoString

func (s AttachElasticLoadBalancerInput) GoString() string

GoString returns the string representation

SetElasticLoadBalancerName

func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput

SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.

SetLayerId

func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoadBalancerInput

SetLayerId sets the LayerId field's value.

String

func (s AttachElasticLoadBalancerInput) String() string

String returns the string representation

Validate

func (s *AttachElasticLoadBalancerInput) Validate() error

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

On this page: