Interface DestroyCommand
- All Superinterfaces:
CdkCommand
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DestroyCommand.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:10.992Z")
@Stability(Stable)
public interface DestroyCommand
extends software.amazon.jsii.JsiiSerializable, CdkCommand
Represents a cdk destroy command.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloud_assembly_schema.*; DestroyCommand destroyCommand = DestroyCommand.builder() .args(DestroyOptions.builder() .all(false) .app("app") .assetMetadata(false) .caBundlePath("caBundlePath") .color(false) .context(Map.of( "contextKey", "context")) .debug(false) .ec2Creds(false) .exclusively(false) .force(false) .ignoreErrors(false) .json(false) .lookups(false) .notices(false) .output("output") .pathMetadata(false) .profile("profile") .proxy("proxy") .roleArn("roleArn") .stacks(List.of("stacks")) .staging(false) .strict(false) .trace(false) .verbose(false) .versionReporting(false) .build()) .enabled(false) .expectedMessage("expectedMessage") .expectError(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDestroyCommand
static final class
An implementation forDestroyCommand
-
Method Summary
Modifier and TypeMethodDescriptionstatic DestroyCommand.Builder
builder()
default DestroyOptions
getArgs()
Additional arguments to pass to the command This can be used to test specific CLI functionality.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.CdkCommand
getEnabled, getExpectedMessage, getExpectError
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArgs
Additional arguments to pass to the command This can be used to test specific CLI functionality.Default: - only default args are used
-
builder
- Returns:
- a
DestroyCommand.Builder
ofDestroyCommand
-