@Stability(value=Experimental) public static final class BasicLifecycleHookProps.Builder extends Object implements software.amazon.jsii.Builder<BasicLifecycleHookProps>
BasicLifecycleHookProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public BasicLifecycleHookProps.Builder lifecycleTransition(LifecycleTransition lifecycleTransition)
BasicLifecycleHookProps.getLifecycleTransition()lifecycleTransition - The state of the Amazon EC2 instance to which you want to attach the lifecycle hook. This parameter is required.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder notificationTarget(ILifecycleHookTarget notificationTarget)
BasicLifecycleHookProps.getNotificationTarget()notificationTarget - The target of the lifecycle hook. This parameter is required.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder defaultResult(DefaultResult defaultResult)
BasicLifecycleHookProps.getDefaultResult()defaultResult - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder heartbeatTimeout(Duration heartbeatTimeout)
BasicLifecycleHookProps.getHeartbeatTimeout()heartbeatTimeout - Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
If the lifecycle hook times out, perform the action in DefaultResult.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder lifecycleHookName(String lifecycleHookName)
BasicLifecycleHookProps.getLifecycleHookName()lifecycleHookName - Name of the lifecycle hook.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder notificationMetadata(String notificationMetadata)
BasicLifecycleHookProps.getNotificationMetadata()notificationMetadata - Additional data to pass to the lifecycle hook target.this@Stability(value=Experimental) public BasicLifecycleHookProps.Builder role(IRole role)
BasicLifecycleHookProps.getRole()role - The role that allows publishing to the notification target.this@Stability(value=Experimental) public BasicLifecycleHookProps build()
build in interface software.amazon.jsii.Builder<BasicLifecycleHookProps>BasicLifecycleHookPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.