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.104.0 (build e79254c)", date="2024-11-22T02:23:57.423Z") @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.