Interface Hooks

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    Hooks.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
               date="2026-07-30T08:06:26.704Z")
    @Stability(Stable)
    public interface Hooks
    extends software.amazon.jsii.JsiiSerializable
    Commands to run at predefined points during the integration test workflow.

    Example:

     // The code below shows an example of how to instantiate this type.
     // The values are placeholders you should change.
     import software.amazon.awscdk.cloudassembly.schema.*;
     Hooks hooks = Hooks.builder()
             .postDeploy(List.of("postDeploy"))
             .postDestroy(List.of("postDestroy"))
             .preDeploy(List.of("preDeploy"))
             .preDestroy(List.of("preDestroy"))
             .build();
     
    • Method Detail

      • getPostDeploy

        @Stability(Stable)
        @Nullable
        default List<String> getPostDeploy()
        Commands to run prior after deploying the cdk stacks in the integration test.

        Default: - no commands

      • getPostDestroy

        @Stability(Stable)
        @Nullable
        default List<String> getPostDestroy()
        Commands to run after destroying the cdk stacks in the integration test.

        Default: - no commands

      • getPreDeploy

        @Stability(Stable)
        @Nullable
        default List<String> getPreDeploy()
        Commands to run prior to deploying the cdk stacks in the integration test.

        Default: - no commands

      • getPreDestroy

        @Stability(Stable)
        @Nullable
        default List<String> getPreDestroy()
        Commands to run prior to destroying the cdk stacks in the integration test.

        Default: - no commands