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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.162Z") @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();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Hooks
    static final class 
    An implementation for Hooks
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default List<String>
    Commands to run prior after deploying the cdk stacks in the integration test.
    default List<String>
    Commands to run after destroying the cdk stacks in the integration test.
    default List<String>
    Commands to run prior to deploying the cdk stacks in the integration test.
    default List<String>
    Commands to run prior to destroying the cdk stacks in the integration test.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • 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

    • builder

      @Stability(Stable) static Hooks.Builder builder()
      Returns:
      a Hooks.Builder of Hooks