Interface Hooks
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Hooks.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:28.700Z")
@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.cloud_assembly_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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Hooks.Builder
builder()
Commands to run prior after deploying the cdk stacks in the integration test.Commands to run after destroying the cdk stacks in the integration test.Commands to run prior to deploying the cdk stacks in the integration test.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
Commands to run prior after deploying the cdk stacks in the integration test.Default: - no commands
-
getPostDestroy
Commands to run after destroying the cdk stacks in the integration test.Default: - no commands
-
getPreDeploy
Commands to run prior to deploying the cdk stacks in the integration test.Default: - no commands
-
getPreDestroy
Commands to run prior to destroying the cdk stacks in the integration test.Default: - no commands
-
builder
- Returns:
- a
Hooks.Builder
ofHooks
-