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.

RecordLifecycleActionHeartbeatInput

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

type RecordLifecycleActionHeartbeatInput struct { AutoScalingGroupName *string `min:"1" type:"string" required:"true"` InstanceId *string `min:"1" type:"string"` 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.

LifecycleActionToken

Type: *string

A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that 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 RecordLifecycleActionHeartbeatInput) GoString() string

GoString returns the string representation

SetAutoScalingGroupName

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

SetAutoScalingGroupName sets the AutoScalingGroupName field's value.

SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

SetLifecycleActionToken

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

SetLifecycleActionToken sets the LifecycleActionToken field's value.

SetLifecycleHookName

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

SetLifecycleHookName sets the LifecycleHookName field's value.

String

func (s RecordLifecycleActionHeartbeatInput) String() string

String returns the string representation

Validate

func (s *RecordLifecycleActionHeartbeatInput) Validate() error

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

On this page: