@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.855Z") @Stability(value=Stable) public interface DeployCommand extends software.amazon.jsii.JsiiSerializable, 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@Stability(value=Stable) @Nullable default DeployOptions getArgs()
Default: - only default args are used
@Stability(value=Stable) static DeployCommand.Builder builder()
builder in interface CdkCommandDeployCommand.Builder of DeployCommandCopyright © 2022. All rights reserved.