@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-02-09T02:14:23.478Z")
public interface CdkCommands
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.
|
default DeployCommand getDeploy()
Default: - default deploy options
default DestroyCommand getDestroy()
Default: - default destroy options
static CdkCommands.Builder builder()
CdkCommands.Builder
of CdkCommands