@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:34.703Z") public interface DestroyCommand 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 |
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
default DestroyOptions getArgs()
Default: - only default args are used
static DestroyCommand.Builder builder()
builder
in interface CdkCommand
DestroyCommand.Builder
of DestroyCommand