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();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHooks.BuilderA builder forHooksstatic classHooks.Jsii$ProxyAn implementation forHooks
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Hooks.Builderbuilder()default List<String>getPostDeploy()Commands to run prior after deploying the cdk stacks in the integration test.default List<String>getPostDestroy()Commands to run after destroying the cdk stacks in the integration test.default List<String>getPreDeploy()Commands to run prior to deploying the cdk stacks in the integration test.default List<String>getPreDestroy()Commands to run prior to destroying the cdk stacks in the integration test.
-
-
-
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
-
builder
@Stability(Stable) static Hooks.Builder builder()
- Returns:
- a
Hooks.BuilderofHooks
-
-