Class BaseStageOptions
(deprecated) Base options for a pipelines stage.
Inheritance
Implements
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class BaseStageOptions : Object, IBaseStageOptions
Syntax (vb)
Public Class BaseStageOptions
Inherits Object
Implements 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 baseStageOptions = new BaseStageOptions {
ConfirmBroadeningPermissions = false,
SecurityNotificationTopic = topic
};
Synopsis
Constructors
BaseStageOptions() |
Properties
ConfirmBroadeningPermissions | (deprecated) Runs a |
SecurityNotificationTopic | (deprecated) Optional SNS topic to send notifications to when the security check registers changes within the application. |
Constructors
BaseStageOptions()
public BaseStageOptions()
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
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