interface AddStageOpts
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Pipelines.AddStageOpts |
Go | github.com/aws/aws-cdk-go/awscdk/v2/pipelines#AddStageOpts |
Java | software.amazon.awscdk.pipelines.AddStageOpts |
Python | aws_cdk.pipelines.AddStageOpts |
TypeScript (source) | aws-cdk-lib » pipelines » AddStageOpts |
Options to pass to addStage.
Example
declare const pipeline: pipelines.CodePipeline;
const topic = new sns.Topic(this, 'SecurityChangesTopic');
topic.addSubscription(new subscriptions.EmailSubscription('test@email.com'));
const stage = new MyApplicationStage(this, 'MyApplication');
pipeline.addStage(stage, {
pre: [
new pipelines.ConfirmPermissionsBroadening('Check', {
stage,
notificationTopic: topic,
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| post? | Step[] | Additional steps to run after all of the stacks in the stage. |
| pre? | Step[] | Additional steps to run before any of the stacks in the stage. |
| stack | Stack[] | Instructions for stack level steps. |
post?
Type:
Step[]
(optional, default: No additional steps)
Additional steps to run after all of the stacks in the stage.
pre?
Type:
Step[]
(optional, default: No additional steps)
Additional steps to run before any of the stacks in the stage.
stackSteps?
Type:
Stack[]
(optional, default: No additional instructions)
Instructions for stack level steps.

.NET
Go
Java
Python
TypeScript (