Interface LifecycleHookProps

All Superinterfaces:
BasicLifecycleHookProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
LifecycleHookProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.393Z") @Stability(Stable) public interface LifecycleHookProps extends software.amazon.jsii.JsiiSerializable, BasicLifecycleHookProps
Properties for a Lifecycle hook.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.autoscaling.*;
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.core.*;
 AutoScalingGroup autoScalingGroup;
 ILifecycleHookTarget lifecycleHookTarget;
 Role role;
 LifecycleHookProps lifecycleHookProps = LifecycleHookProps.builder()
         .autoScalingGroup(autoScalingGroup)
         .lifecycleTransition(LifecycleTransition.INSTANCE_LAUNCHING)
         // the properties below are optional
         .defaultResult(DefaultResult.CONTINUE)
         .heartbeatTimeout(Duration.minutes(30))
         .lifecycleHookName("lifecycleHookName")
         .notificationMetadata("notificationMetadata")
         .notificationTarget(lifecycleHookTarget)
         .role(role)
         .build();