@Stability(value=Experimental) public static final class AddStageOptions.Builder extends Object implements software.amazon.jsii.Builder<AddStageOptions>
AddStageOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AddStageOptions |
build()
Builds the configured instance.
|
AddStageOptions.Builder |
confirmBroadeningPermissions(Boolean confirmBroadeningPermissions)
Sets the value of
BaseStageOptions.getConfirmBroadeningPermissions() |
AddStageOptions.Builder |
extraRunOrderSpace(Number extraRunOrderSpace)
Sets the value of
AddStageOptions.getExtraRunOrderSpace() |
AddStageOptions.Builder |
manualApprovals(Boolean manualApprovals)
Sets the value of
AddStageOptions.getManualApprovals() |
AddStageOptions.Builder |
securityNotificationTopic(ITopic securityNotificationTopic)
Sets the value of
BaseStageOptions.getSecurityNotificationTopic() |
@Stability(value=Experimental) public AddStageOptions.Builder extraRunOrderSpace(Number extraRunOrderSpace)
AddStageOptions.getExtraRunOrderSpace()extraRunOrderSpace - Add room for extra actions.
You can use this to make extra room in the runOrder sequence between the
changeset 'prepare' and 'execute' actions and insert your own actions there.this@Stability(value=Experimental) public AddStageOptions.Builder manualApprovals(Boolean manualApprovals)
AddStageOptions.getManualApprovals()manualApprovals - Add manual approvals before executing change sets.
This gives humans the opportunity to confirm the change set looks alright
before deploying it.this@Stability(value=Experimental) public AddStageOptions.Builder confirmBroadeningPermissions(Boolean confirmBroadeningPermissions)
BaseStageOptions.getConfirmBroadeningPermissions()confirmBroadeningPermissions - Runs a `cdk diff --security-only --fail` to pause the pipeline if there are any security changes.
If the stage is configured with confirmBroadeningPermissions enabled, you can use this
property to override the stage configuration. For example, Pipeline Stage
"Prod" has confirmBroadeningPermissions enabled, with applications "A", "B", "C". All three
applications will run a security check, but if we want to disable the one for "C",
we run stage.addApplication(C, { confirmBroadeningPermissions: false }) to override the pipeline
stage behavior.
Adds 1 to the run order space.
this@Stability(value=Experimental) public AddStageOptions.Builder securityNotificationTopic(ITopic securityNotificationTopic)
BaseStageOptions.getSecurityNotificationTopic()securityNotificationTopic - Optional SNS topic to send notifications to when the security check registers changes within the application.this@Stability(value=Experimental) public AddStageOptions build()
build in interface software.amazon.jsii.Builder<AddStageOptions>AddStageOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.