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.

DeleteInstanceInput

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

type DeleteInstanceInput struct { DeleteElasticIp *bool `type:"boolean"` DeleteVolumes *bool `type:"boolean"` InstanceId *string `type:"string" required:"true"` }

DeleteElasticIp

Type: *bool

Whether to delete the instance Elastic IP address.

DeleteVolumes

Type: *bool

Whether to delete the instance's Amazon EBS volumes.

InstanceId

Type: *string

The instance ID.

InstanceId is a required field

Method

GoString

func (s DeleteInstanceInput) GoString() string

GoString returns the string representation

SetDeleteElasticIp

func (s *DeleteInstanceInput) SetDeleteElasticIp(v bool) *DeleteInstanceInput

SetDeleteElasticIp sets the DeleteElasticIp field's value.

SetDeleteVolumes

func (s *DeleteInstanceInput) SetDeleteVolumes(v bool) *DeleteInstanceInput

SetDeleteVolumes sets the DeleteVolumes field's value.

SetInstanceId

func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput

SetInstanceId sets the InstanceId field's value.

String

func (s DeleteInstanceInput) String() string

String returns the string representation

Validate

func (s *DeleteInstanceInput) Validate() error

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

On this page: