Package software.amazon.awscdk.pipelines
Class AddStageOptions.Builder
java.lang.Object
software.amazon.awscdk.pipelines.AddStageOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddStageOptions>
- Enclosing interface:
AddStageOptions
@Stability(Deprecated)
@Deprecated
public static final class AddStageOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AddStageOptions>
Deprecated.
A builder for
AddStageOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.confirmBroadeningPermissions
(Boolean confirmBroadeningPermissions) Deprecated.extraRunOrderSpace
(Number extraRunOrderSpace) Deprecated.manualApprovals
(Boolean manualApprovals) Deprecated.securityNotificationTopic
(ITopic securityNotificationTopic) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
extraRunOrderSpace
@Stability(Deprecated) @Deprecated public AddStageOptions.Builder extraRunOrderSpace(Number extraRunOrderSpace) Deprecated.Sets the value ofAddStageOptions.getExtraRunOrderSpace()
- Parameters:
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.- Returns:
this
-
manualApprovals
@Stability(Deprecated) @Deprecated public AddStageOptions.Builder manualApprovals(Boolean manualApprovals) Deprecated.Sets the value ofAddStageOptions.getManualApprovals()
- Parameters:
manualApprovals
- Add manual approvals before executing change sets. This gives humans the opportunity to confirm the change set looks alright before deploying it.- Returns:
this
-
confirmBroadeningPermissions
@Stability(Deprecated) @Deprecated public AddStageOptions.Builder confirmBroadeningPermissions(Boolean confirmBroadeningPermissions) Deprecated.Sets the value ofBaseStageOptions.getConfirmBroadeningPermissions()
- Parameters:
confirmBroadeningPermissions
- Runs acdk diff --security-only --fail
to pause the pipeline if there are any security changes. If the stage is configured withconfirmBroadeningPermissions
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 runstage.addApplication(C, { confirmBroadeningPermissions: false })
to override the pipeline stage behavior.Adds 1 to the run order space.
- Returns:
this
-
securityNotificationTopic
@Stability(Deprecated) @Deprecated public AddStageOptions.Builder securityNotificationTopic(ITopic securityNotificationTopic) Deprecated.Sets the value ofBaseStageOptions.getSecurityNotificationTopic()
- Parameters:
securityNotificationTopic
- Optional SNS topic to send notifications to when the security check registers changes within the application.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AddStageOptions>
- Returns:
- a new instance of
AddStageOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-