@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.853Z") @Stability(value=Stable) public interface CdkCommands extends software.amazon.jsii.JsiiSerializable
Example:
App app = new App();
Stack stackUnderTest = new Stack(app, "StackUnderTest");
Stack stack = new Stack(app, "stack");
IntegTest testCase = IntegTest.Builder.create(app, "CustomizedDeploymentWorkflow")
.testCases(List.of(stackUnderTest))
.diffAssets(true)
.stackUpdateWorkflow(true)
.cdkCommandOptions(CdkCommands.builder()
.deploy(DeployCommand.builder()
.args(DeployOptions.builder()
.requireApproval(RequireApproval.NEVER)
.json(true)
.build())
.build())
.destroy(DestroyCommand.builder()
.args(DestroyOptions.builder()
.force(true)
.build())
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CdkCommands.Builder
A builder for
CdkCommands |
static class |
CdkCommands.Jsii$Proxy
An implementation for
CdkCommands |
| Modifier and Type | Method and Description |
|---|---|
static CdkCommands.Builder |
builder() |
default DeployCommand |
getDeploy()
Options to for the cdk deploy command.
|
default DestroyCommand |
getDestroy()
Options to for the cdk destroy command.
|
@Stability(value=Stable) @Nullable default DeployCommand getDeploy()
Default: - default deploy options
@Stability(value=Stable) @Nullable default DestroyCommand getDestroy()
Default: - default destroy options
@Stability(value=Stable) static CdkCommands.Builder builder()
CdkCommands.Builder of CdkCommandsCopyright © 2022. All rights reserved.