Example usage for Java com.amazonaws.services.autoscaling.model PutLifecycleHookRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setAutoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group. |
void | setDefaultResult(String defaultResult) Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. |
void | setHeartbeatTimeout(Integer heartbeatTimeout) The maximum time, in seconds, that can elapse before the lifecycle hook times out. |
void | setLifecycleHookName(String lifecycleHookName) The name of the lifecycle hook. |
void | setLifecycleTransition(String lifecycleTransition) The instance state to which you want to attach the lifecycle hook. |
void | setNotificationTargetARN(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. |
void | setRoleARN(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. |