Class AddStageOptions
(deprecated) Options for adding an application stage to a pipeline.
Inheritance
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class AddStageOptions : Object, IAddStageOptions, IBaseStageOptions
Syntax (vb)
Public Class AddStageOptions
Inherits Object
Implements IAddStageOptions, IBaseStageOptions
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SNS;
using Amazon.CDK.Pipelines;
Topic topic;
var addStageOptions = new AddStageOptions {
ConfirmBroadeningPermissions = false,
ExtraRunOrderSpace = 123,
ManualApprovals = false,
SecurityNotificationTopic = topic
};
Synopsis
Constructors
AddStageOptions() |
Properties
ConfirmBroadeningPermissions | (deprecated) Runs a |
ExtraRunOrderSpace | (deprecated) Add room for extra actions. |
ManualApprovals | (deprecated) Add manual approvals before executing change sets. |
SecurityNotificationTopic | (deprecated) Optional SNS topic to send notifications to when the security check registers changes within the application. |
Constructors
AddStageOptions()
public AddStageOptions()
Properties
ConfirmBroadeningPermissions
(deprecated) Runs a cdk diff --security-only --fail
to pause the pipeline if there are any security changes.
public Nullable<bool> ConfirmBroadeningPermissions { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
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.
Default: false
Stability: Deprecated
ExtraRunOrderSpace
(deprecated) Add room for extra actions.
public Nullable<double> ExtraRunOrderSpace { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.
Default: 0
Stability: Deprecated
ManualApprovals
(deprecated) Add manual approvals before executing change sets.
public Nullable<bool> ManualApprovals { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
This gives humans the opportunity to confirm the change set looks alright before deploying it.
Default: false
Stability: Deprecated
SecurityNotificationTopic
(deprecated) Optional SNS topic to send notifications to when the security check registers changes within the application.
public ITopic SecurityNotificationTopic { get; set; }
Property Value
Remarks
Default: undefined no notification topic for security check manual approval action
Stability: Deprecated