Interface DestroyOptions
-
- All Superinterfaces:
DefaultCdkOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DestroyOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.778Z") @Stability(Stable) public interface DestroyOptions extends software.amazon.jsii.JsiiSerializable, DefaultCdkOptions
Options to use with cdk destroy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDestroyOptions.BuilderA builder forDestroyOptionsstatic classDestroyOptions.Jsii$ProxyAn implementation forDestroyOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DestroyOptions.Builderbuilder()default BooleangetExclusively()Only destroy the given stack.default BooleangetForce()Do not ask for permission before destroying stacks.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.DefaultCdkOptions
getAll, getApp, getAssetMetadata, getCaBundlePath, getColor, getContext, getDebug, getEc2Creds, getIgnoreErrors, getJson, getLookups, getNotices, getOutput, getPathMetadata, getProfile, getProxy, getRoleArn, getStacks, getStaging, getStrict, getTrace, getVerbose, getVersionReporting
-
-
-
-
Method Detail
-
getExclusively
@Stability(Stable) @Nullable default Boolean getExclusively()
Only destroy the given stack.Default: false
-
getForce
@Stability(Stable) @Nullable default Boolean getForce()
Do not ask for permission before destroying stacks.Default: false
-
builder
@Stability(Stable) static DestroyOptions.Builder builder()
- Returns:
- a
DestroyOptions.BuilderofDestroyOptions
-
-