@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:34.701Z") public interface DeployCommand extends CdkCommand
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 |
DeployCommand.Builder
A builder for
DeployCommand |
static class |
DeployCommand.Jsii$Proxy
An implementation for
DeployCommand |
Modifier and Type | Method and Description |
---|---|
static DeployCommand.Builder |
builder() |
default DeployOptions |
getArgs()
Additional arguments to pass to the command This can be used to test specific CLI functionality.
|
getEnabled, getExpectedMessage, getExpectError
default DeployOptions getArgs()
Default: - only default args are used
static DeployCommand.Builder builder()
builder
in interface CdkCommand
DeployCommand.Builder
of DeployCommand