@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.856Z") @Stability(value=Stable) public interface DestroyCommand 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 |
DestroyCommand.Builder
A builder for
DestroyCommand |
static class |
DestroyCommand.Jsii$Proxy
An implementation for
DestroyCommand |
| Modifier and Type | Method and Description |
|---|---|
static DestroyCommand.Builder |
builder() |
default DestroyOptions |
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 DestroyOptions getArgs()
Default: - only default args are used
@Stability(value=Stable) static DestroyCommand.Builder builder()
builder in interface CdkCommandDestroyCommand.Builder of DestroyCommandCopyright © 2022. All rights reserved.