Interface DeployOptions
-
- All Superinterfaces:
DefaultCdkOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeployOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.776Z") @Stability(Stable) public interface DeployOptions extends software.amazon.jsii.JsiiSerializable, DefaultCdkOptions
Options to use with cdk deploy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeployOptions.BuilderA builder forDeployOptionsstatic classDeployOptions.Jsii$ProxyAn implementation forDeployOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DeployOptions.Builderbuilder()default StringgetChangeSetName()Optional name to use for the CloudFormation change set.default BooleangetCi()Whether we are on a CI system.default NumbergetConcurrency()Deploy multiple stacks in parallel.default BooleangetExclusively()Only perform action on the given stack.default BooleangetExecute()Whether to execute the ChangeSet Not providingexecuteparameter will result in execution of ChangeSet.default BooleangetForce()Always deploy, even if templates are identical.default List<String>getNotificationArns()ARNs of SNS topics that CloudFormation will notify with stack related events.default StringgetOutputsFile()Path to file where stack outputs will be written after a successful deploy as JSON.default Map<String,String>getParameters()Additional parameters for CloudFormation at deploy time.default RequireApprovalgetRequireApproval()What kind of security changes require approval.default List<String>getReuseAssets()Reuse the assets with the given asset IDs.default BooleangetRollback()Rollback failed deployments.default StringgetToolkitStackName()Name of the toolkit stack to use/deploy.default BooleangetUsePreviousParameters()Use previous values for unspecified parameters.-
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
-
getChangeSetName
@Stability(Stable) @Nullable default String getChangeSetName()
Optional name to use for the CloudFormation change set.If not provided, a name will be generated automatically.
Default: - auto generate a name
-
getCi
@Stability(Stable) @Nullable default Boolean getCi()
Whether we are on a CI system.Default: false
-
getConcurrency
@Stability(Stable) @Nullable default Number getConcurrency()
Deploy multiple stacks in parallel.Default: 1
-
getExclusively
@Stability(Stable) @Nullable default Boolean getExclusively()
Only perform action on the given stack.Default: false
-
getExecute
@Stability(Stable) @Nullable default Boolean getExecute()
Whether to execute the ChangeSet Not providingexecuteparameter will result in execution of ChangeSet.Default: true
-
getForce
@Stability(Stable) @Nullable default Boolean getForce()
Always deploy, even if templates are identical.Default: false
-
getNotificationArns
@Stability(Stable) @Nullable default List<String> getNotificationArns()
ARNs of SNS topics that CloudFormation will notify with stack related events.Default: - no notifications
-
getOutputsFile
@Stability(Stable) @Nullable default String getOutputsFile()
Path to file where stack outputs will be written after a successful deploy as JSON.Default: - Outputs are not written to any file
-
getParameters
@Stability(Stable) @Nullable default Map<String,String> getParameters()
Additional parameters for CloudFormation at deploy time.Default: {}
-
getRequireApproval
@Stability(Stable) @Nullable default RequireApproval getRequireApproval()
What kind of security changes require approval.Default: RequireApproval.NEVER
-
getReuseAssets
@Stability(Stable) @Nullable default List<String> getReuseAssets()
Reuse the assets with the given asset IDs.Default: - do not reuse assets
-
getRollback
@Stability(Stable) @Nullable default Boolean getRollback()
Rollback failed deployments.Default: true
-
getToolkitStackName
@Stability(Stable) @Nullable default String getToolkitStackName()
Name of the toolkit stack to use/deploy.Default: CDKToolkit
-
getUsePreviousParameters
@Stability(Stable) @Nullable default Boolean getUsePreviousParameters()
Use previous values for unspecified parameters.If not set, all parameters must be specified for every deployment.
Default: true
-
builder
@Stability(Stable) static DeployOptions.Builder builder()
- Returns:
- a
DeployOptions.BuilderofDeployOptions
-
-