| Package | Description |
|---|---|
| software.amazon.awssdk.services.autoscaling.model |
| Modifier and Type | Method and Description |
|---|---|
LifecycleHook.Builder |
LifecycleHook.Builder.autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the lifecycle hook.
|
static LifecycleHook.Builder |
LifecycleHook.builder() |
LifecycleHook.Builder |
LifecycleHook.Builder.defaultResult(String defaultResult)
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an
unexpected failure occurs.
|
LifecycleHook.Builder |
LifecycleHook.Builder.globalTimeout(Integer globalTimeout)
The maximum time, in seconds, that an instance can remain in a
Pending:Wait or
Terminating:Wait state. |
LifecycleHook.Builder |
LifecycleHook.Builder.heartbeatTimeout(Integer heartbeatTimeout)
The maximum time, in seconds, that can elapse before the lifecycle hook times out.
|
LifecycleHook.Builder |
LifecycleHook.Builder.lifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.lifecycleTransition(String lifecycleTransition)
The state of the EC2 instance to which to attach the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.notificationMetadata(String notificationMetadata)
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the
notification target.
|
LifecycleHook.Builder |
LifecycleHook.Builder.notificationTargetARN(String notificationTargetARN)
The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the
transition state for the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.roleARN(String roleARN)
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
|
LifecycleHook.Builder |
LifecycleHook.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends LifecycleHook.Builder> |
LifecycleHook.serializableBuilderClass() |
Copyright © 2018. All rights reserved.