@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:08:43.818Z") @Stability(value=Stable) public interface DeployOptions extends software.amazon.jsii.JsiiSerializable, DefaultCdkOptions
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 |
DeployOptions.Builder
A builder for
DeployOptions |
static class |
DeployOptions.Jsii$Proxy
An implementation for
DeployOptions |
Modifier and Type | Method and Description |
---|---|
static DeployOptions.Builder |
builder() |
default String |
getChangeSetName()
Optional name to use for the CloudFormation change set.
|
default Boolean |
getCi()
Whether we are on a CI system.
|
default Boolean |
getExclusively()
Only perform action on the given stack.
|
default Boolean |
getExecute()
Whether to execute the ChangeSet Not providing `execute` parameter will result in execution of ChangeSet.
|
default Boolean |
getForce()
Always deploy, even if templates are identical.
|
default List<String> |
getNotificationArns()
ARNs of SNS topics that CloudFormation will notify with stack related events.
|
default String |
getOutputsFile()
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 RequireApproval |
getRequireApproval()
What kind of security changes require approval.
|
default List<String> |
getReuseAssets()
Reuse the assets with the given asset IDs.
|
default Boolean |
getRollback()
Rollback failed deployments.
|
default String |
getToolkitStackName()
Name of the toolkit stack to use/deploy.
|
default Boolean |
getUsePreviousParameters()
Use previous values for unspecified parameters.
|
getAll, getApp, getAssetMetadata, getCaBundlePath, getColor, getContext, getDebug, getEc2Creds, getIgnoreErrors, getJson, getLookups, getNotices, getOutput, getPathMetadata, getProfile, getProxy, getRoleArn, getStacks, getStaging, getStrict, getTrace, getVerbose, getVersionReporting
@Stability(value=Stable) @Nullable default String getChangeSetName()
If not provided, a name will be generated automatically.
Default: - auto generate a name
@Stability(value=Stable) @Nullable default Boolean getCi()
Default: false
@Stability(value=Stable) @Nullable default Boolean getExclusively()
Default: false
@Stability(value=Stable) @Nullable default Boolean getExecute()
Default: true
@Stability(value=Stable) @Nullable default Boolean getForce()
Default: false
@Stability(value=Stable) @Nullable default List<String> getNotificationArns()
Default: - no notifications
@Stability(value=Stable) @Nullable default String getOutputsFile()
Default: - Outputs are not written to any file
@Stability(value=Stable) @Nullable default Map<String,String> getParameters()
Default: {}
@Stability(value=Stable) @Nullable default RequireApproval getRequireApproval()
Default: RequireApproval.Never
@Stability(value=Stable) @Nullable default List<String> getReuseAssets()
Default: - do not reuse assets
@Stability(value=Stable) @Nullable default Boolean getRollback()
Default: true
@Stability(value=Stable) @Nullable default String getToolkitStackName()
Default: CDKToolkit
@Stability(value=Stable) @Nullable default Boolean getUsePreviousParameters()
If not set, all parameters must be specified for every deployment.
Default: true
@Stability(value=Stable) static DeployOptions.Builder builder()
builder
in interface DefaultCdkOptions
DeployOptions.Builder
of DeployOptions
Copyright © 2023. All rights reserved.