@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.859Z") @Stability(value=Stable) public interface Hooks extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Hooks.Builder
A builder for
Hooks |
static class |
Hooks.Jsii$Proxy
An implementation for
Hooks |
| Modifier and Type | Method and Description |
|---|---|
static Hooks.Builder |
builder() |
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.
|
@Stability(value=Stable) @Nullable default List<String> getPostDeploy()
Default: - no commands
@Stability(value=Stable) @Nullable default List<String> getPostDestroy()
Default: - no commands
@Stability(value=Stable) @Nullable default List<String> getPreDeploy()
Default: - no commands
@Stability(value=Stable) @Nullable default List<String> getPreDestroy()
Default: - no commands
@Stability(value=Stable) static Hooks.Builder builder()
Hooks.Builder of HooksCopyright © 2022. All rights reserved.