| Package | Description |
|---|---|
| com.amazonaws.services.autoscaling.model |
| Modifier and Type | Method and Description |
|---|---|
LifecycleHookSpecification |
LifecycleHookSpecification.clone() |
LifecycleHookSpecification |
LifecycleHookSpecification.withDefaultResult(String defaultResult)
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected
failure occurs.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withHeartbeatTimeout(Integer heartbeatTimeout)
The maximum time, in seconds, that can elapse before the lifecycle hook times out.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withLifecycleTransition(String lifecycleTransition)
The state of the EC2 instance to which you want to attach the lifecycle hook.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withNotificationMetadata(String notificationMetadata)
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the
notification target.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withNotificationTargetARN(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.
|
LifecycleHookSpecification |
LifecycleHookSpecification.withRoleARN(String roleARN)
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
|
| Modifier and Type | Method and Description |
|---|---|
List<LifecycleHookSpecification> |
CreateAutoScalingGroupRequest.getLifecycleHookSpecificationList()
One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches
or terminates instances.
|
| Modifier and Type | Method and Description |
|---|---|
CreateAutoScalingGroupRequest |
CreateAutoScalingGroupRequest.withLifecycleHookSpecificationList(LifecycleHookSpecification... lifecycleHookSpecificationList)
One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches
or terminates instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CreateAutoScalingGroupRequest.setLifecycleHookSpecificationList(Collection<LifecycleHookSpecification> lifecycleHookSpecificationList)
One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches
or terminates instances.
|
CreateAutoScalingGroupRequest |
CreateAutoScalingGroupRequest.withLifecycleHookSpecificationList(Collection<LifecycleHookSpecification> lifecycleHookSpecificationList)
One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches
or terminates instances.
|
Copyright © 2022. All rights reserved.