Uses of Class
com.amazonaws.services.autoscaling.model.LifecycleHook
Packages that use LifecycleHook
-
Uses of LifecycleHook in com.amazonaws.services.autoscaling.model
Methods in com.amazonaws.services.autoscaling.model that return LifecycleHookModifier and TypeMethodDescriptionLifecycleHook.clone()
LifecycleHook.withAutoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group for the lifecycle hook.LifecycleHook.withDefaultResult
(String defaultResult) Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs.LifecycleHook.withGlobalTimeout
(Integer globalTimeout) The maximum time, in seconds, that an instance can remain in aPending:Wait
orTerminating:Wait
state.LifecycleHook.withHeartbeatTimeout
(Integer heartbeatTimeout) The maximum time, in seconds, that can elapse before the lifecycle hook times out.LifecycleHook.withLifecycleHookName
(String lifecycleHookName) The name of the lifecycle hook.LifecycleHook.withLifecycleTransition
(String lifecycleTransition) The state of the EC2 instance to which you want to attach the lifecycle hook.LifecycleHook.withNotificationMetadata
(String notificationMetadata) Additional information that you want to include any time Auto Scaling sends a message to the notification target.LifecycleHook.withNotificationTargetARN
(String notificationTargetARN) The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook.LifecycleHook.withRoleARN
(String roleARN) The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.Methods in com.amazonaws.services.autoscaling.model that return types with arguments of type LifecycleHookModifier and TypeMethodDescriptionDescribeLifecycleHooksResult.getLifecycleHooks()
The lifecycle hooks for the specified group.Methods in com.amazonaws.services.autoscaling.model with parameters of type LifecycleHookModifier and TypeMethodDescriptionDescribeLifecycleHooksResult.withLifecycleHooks
(LifecycleHook... lifecycleHooks) The lifecycle hooks for the specified group.Method parameters in com.amazonaws.services.autoscaling.model with type arguments of type LifecycleHookModifier and TypeMethodDescriptionvoid
DescribeLifecycleHooksResult.setLifecycleHooks
(Collection<LifecycleHook> lifecycleHooks) The lifecycle hooks for the specified group.DescribeLifecycleHooksResult.withLifecycleHooks
(Collection<LifecycleHook> lifecycleHooks) The lifecycle hooks for the specified group.