Java com.amazonaws.services.autoscaling.model PutLifecycleHookRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.autoscaling.model PutLifecycleHookRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.autoscaling.model PutLifecycleHookRequest.

The text is from its open source code.

Constructor

Method

voidsetAutoScalingGroupName(String autoScalingGroupName)

The name of the Auto Scaling group.

voidsetDefaultResult(String defaultResult)

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs.

voidsetHeartbeatTimeout(Integer heartbeatTimeout)

The maximum time, in seconds, that can elapse before the lifecycle hook times out.

voidsetLifecycleHookName(String lifecycleHookName)

The name of the lifecycle hook.

voidsetLifecycleTransition(String lifecycleTransition)

The instance state to which you want to attach the lifecycle hook.

voidsetNotificationTargetARN(String notificationTargetARN)

The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook.

voidsetRoleARN(String roleARN)

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue.