Interface DeployOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,SharedOptions
- All Known Implementing Classes:
DeployOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.244Z")
@Stability(Experimental)
public interface DeployOptions
extends software.amazon.jsii.JsiiSerializable, SharedOptions
(experimental) Options to use with cdk deploy.
Example:
// await this asynchronous method call using a language feature cli.deploy(DeployOptions.builder() .stacks(List.of("MyTestStack")) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDeployOptions
static final class
An implementation forDeployOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeployOptions.Builder
builder()
default Boolean
(experimental) Whether to build/publish assets in parallel.default Boolean
(experimental) Whether to build all assets before deploying the first stack (useful for failing Docker builds).default String
(experimental) Optional name to use for the CloudFormation change set.default Boolean
getCi()
(experimental) Whether we are on a CI system.default Number
(experimental) Maximum number of simultaneous deployments (dependency permitting) to execute.default Boolean
(experimental) Only perform action on the given stack.default Boolean
(experimental) Whether to execute the ChangeSet Not providingexecute
parameter will result in execution of ChangeSet.default Boolean
getForce()
(experimental) Always deploy, even if templates are identical.default HotswapMode
(experimental) ARNs of SNS topics that CloudFormation will notify with stack related events.default String
(experimental) Path to file where stack outputs will be written after a successful deploy as JSON.(experimental) Additional parameters for CloudFormation at deploy time.default StackActivityProgress
(experimental) Display mode for stack activity events.default RequireApproval
(experimental) What kind of security changes require approval.(experimental) Reuse the assets with the given asset IDs.default Boolean
(experimental) Rollback failed deployments.default String
(experimental) Name of the toolkit stack to use/deploy.default Boolean
(experimental) Use previous values for unspecified parameters.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.cli.lib.alpha.SharedOptions
getAssetMetadata, getCaBundlePath, getColor, getContext, getDebug, getEc2Creds, getIgnoreErrors, getJson, getLookups, getNotices, getPathMetadata, getProfile, getProxy, getRoleArn, getStacks, getStaging, getStrict, getTrace, getVerbose, getVersionReporting
-
Method Details
-
getAssetParallelism
(experimental) Whether to build/publish assets in parallel.Default: false
-
getAssetPrebuild
(experimental) Whether to build all assets before deploying the first stack (useful for failing Docker builds).Default: true
-
getChangeSetName
(experimental) Optional name to use for the CloudFormation change set.If not provided, a name will be generated automatically.
Default: - auto generate a name
-
getCi
(experimental) Whether we are on a CI system.Default: - `false` unless the environment variable `CI` is set
-
getConcurrency
(experimental) Maximum number of simultaneous deployments (dependency permitting) to execute.Default: 1
-
getExclusively
(experimental) Only perform action on the given stack.Default: false
-
getExecute
(experimental) Whether to execute the ChangeSet Not providingexecute
parameter will result in execution of ChangeSet.Default: true
-
getForce
(experimental) Always deploy, even if templates are identical.Default: false
-
getHotswap
-
getNotificationArns
(experimental) ARNs of SNS topics that CloudFormation will notify with stack related events.Default: - no notifications
-
getOutputsFile
(experimental) Path to file where stack outputs will be written after a successful deploy as JSON.Default: - Outputs are not written to any file
-
getParameters
(experimental) Additional parameters for CloudFormation at deploy time.Default: {}
-
getProgress
(experimental) Display mode for stack activity events.The default in the CLI is StackActivityProgress.BAR. But since this is an API it makes more sense to set the default to StackActivityProgress.EVENTS
Default: StackActivityProgress.EVENTS
-
getRequireApproval
(experimental) What kind of security changes require approval.Default: RequireApproval.Never
-
getReuseAssets
(experimental) Reuse the assets with the given asset IDs.Default: - do not reuse assets
-
getRollback
(experimental) Rollback failed deployments.Default: true
-
getToolkitStackName
(experimental) Name of the toolkit stack to use/deploy.Default: CDKToolkit
-
getUsePreviousParameters
(experimental) Use previous values for unspecified parameters.If not set, all parameters must be specified for every deployment.
Default: true
-
builder
- Returns:
- a
DeployOptions.Builder
ofDeployOptions
-