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.

CompleteLifecycleActionInput

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

type CompleteLifecycleActionInput struct { AutoScalingGroupName *string `min:"1" type:"string" required:"true"` InstanceId *string `min:"1" type:"string"` LifecycleActionResult *string `type:"string" required:"true"` LifecycleActionToken *string `min:"36" type:"string"` LifecycleHookName *string `min:"1" type:"string" required:"true"` }

AutoScalingGroupName

Type: *string

The name of the Auto Scaling group.

AutoScalingGroupName is a required field

InstanceId

Type: *string

The ID of the instance.

LifecycleActionResult

Type: *string

The action for the group to take. This parameter can be either CONTINUE or ABANDON.

LifecycleActionResult is a required field

LifecycleActionToken

Type: *string

A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

LifecycleHookName

Type: *string

The name of the lifecycle hook.

LifecycleHookName is a required field

Method

GoString

func (s CompleteLifecycleActionInput) GoString() string

GoString returns the string representation

SetAutoScalingGroupName

func (s *CompleteLifecycleActionInput) SetAutoScalingGroupName(v string) *CompleteLifecycleActionInput

SetAutoScalingGroupName sets the AutoScalingGroupName field's value.

SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

SetLifecycleActionResult

func (s *CompleteLifecycleActionInput) SetLifecycleActionResult(v string) *CompleteLifecycleActionInput

SetLifecycleActionResult sets the LifecycleActionResult field's value.

SetLifecycleActionToken

func (s *CompleteLifecycleActionInput) SetLifecycleActionToken(v string) *CompleteLifecycleActionInput

SetLifecycleActionToken sets the LifecycleActionToken field's value.

SetLifecycleHookName

func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteLifecycleActionInput

SetLifecycleHookName sets the LifecycleHookName field's value.

String

func (s CompleteLifecycleActionInput) String() string

String returns the string representation

Validate

func (s *CompleteLifecycleActionInput) Validate() error

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

On this page: