Uses of Class
software.amazon.awscdk.services.autoscaling.LifecycleHook.Builder
Package
Description
Amazon EC2 Auto Scaling Construct Library
-
Uses of LifecycleHook.Builder in software.amazon.awscdk.services.autoscaling
Modifier and TypeMethodDescriptionLifecycleHook.Builder.autoScalingGroup
(IAutoScalingGroup autoScalingGroup) The AutoScalingGroup to add the lifecycle hook to.static LifecycleHook.Builder
LifecycleHook.Builder.defaultResult
(DefaultResult defaultResult) The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.LifecycleHook.Builder.heartbeatTimeout
(Duration heartbeatTimeout) Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.LifecycleHook.Builder.lifecycleHookName
(String lifecycleHookName) Name of the lifecycle hook.LifecycleHook.Builder.lifecycleTransition
(LifecycleTransition lifecycleTransition) The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.LifecycleHook.Builder.notificationMetadata
(String notificationMetadata) Additional data to pass to the lifecycle hook target.LifecycleHook.Builder.notificationTarget
(ILifecycleHookTarget notificationTarget) The target of the lifecycle hook.The role that allows publishing to the notification target.