Interface ILifecycleHook

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ILifecycleHook.Jsii$Default
All Known Implementing Classes:
ILifecycleHook.Jsii$Proxy, LifecycleHook

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.372Z") @Stability(Stable) public interface ILifecycleHook extends software.amazon.jsii.JsiiSerializable, IResource
A basic lifecycle hook object.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ILifecycleHook.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The role for the lifecycle hook to execute.

    Methods inherited from interface software.amazon.awscdk.core.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.core.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getRole

      @Stability(Stable) @NotNull IRole getRole()
      The role for the lifecycle hook to execute.

      Default: - A default role is created if 'notificationTarget' is specified. Otherwise, no role is created.