| Package | Description |
|---|---|
| software.amazon.awscdk.services.autoscaling |
Amazon EC2 Auto Scaling Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the lifecycle hook.
|
static CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.create(software.constructs.Construct scope,
String id) |
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.defaultResult(String defaultResult)
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.heartbeatTimeout(Number heartbeatTimeout)
The maximum time, in seconds, that can elapse before the lifecycle hook times out.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.lifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.lifecycleTransition(String lifecycleTransition)
The instance state to which you want to attach the lifecycle hook.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.notificationMetadata(String notificationMetadata)
Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.notificationTargetArn(String notificationTargetArn)
The Amazon Resource Name (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.
|
CfnLifecycleHook.Builder |
CfnLifecycleHook.Builder.roleArn(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.
|
Copyright © 2022. All rights reserved.