Interface ILifecycleHook

All Superinterfaces:
software.constructs.IConstruct, software.constructs.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.103.1 (build bef2dea)", date="2024-10-25T14:21:10.660Z") @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.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.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.