Options to pass to addStage.
Implements
Inherited Members
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddStageOpts : IAddStageOpts
Syntax (vb)
Public Class AddStageOpts Implements IAddStageOpts
Examples
CodePipeline pipeline;
var topic = new Topic(this, "SecurityChangesTopic");
topic.AddSubscription(new EmailSubscription("test@email.com"));
var stage = new MyApplicationStage(this, "MyApplication");
pipeline.AddStage(stage, new AddStageOpts {
Pre = new [] {
new ConfirmPermissionsBroadening("Check", new PermissionsBroadeningCheckProps {
Stage = stage,
NotificationTopic = topic
}) }
});
Synopsis
Constructors
Properties
| Post | Additional steps to run after all of the stacks in the stage. |
| Pre | Additional steps to run before any of the stacks in the stage. |
| StackSteps | Instructions for stack level steps. |
Constructors
AddStageOpts()
Options to pass to addStage.
Examples
CodePipeline pipeline;
var topic = new Topic(this, "SecurityChangesTopic");
topic.AddSubscription(new EmailSubscription("test@email.com"));
var stage = new MyApplicationStage(this, "MyApplication");
pipeline.AddStage(stage, new AddStageOpts {
Pre = new [] {
new ConfirmPermissionsBroadening("Check", new PermissionsBroadeningCheckProps {
Stage = stage,
NotificationTopic = topic
}) }
});
Properties
Post
Additional steps to run after all of the stacks in the stage.
public Step[]? Post { get; set; }
Property Value
Step[]
Pre
Additional steps to run before any of the stacks in the stage.
public Step[]? Pre { get; set; }
Property Value
Step[]
StackSteps
Instructions for stack level steps.
public IStackSteps[]? StackSteps { get; set; }