AddStageOpts Struct
Options to pass to addStage.
Example
ts
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
postoptionalStep[]postoptionaltyping.List[Step]postoptionalList<Step>PostoptionalStep[]Postoptional*[]Step#Additional steps to run after all of the stacks in the stage.
Default: No additional steps
preoptionalStep[]preoptionaltyping.List[Step]preoptionalList<Step>PreoptionalStep[]Preoptional*[]Step#Additional steps to run before any of the stacks in the stage.
Default: No additional steps
stackStepsoptionalStackSteps[]stack_stepsoptionaltyping.List[StackSteps]stackStepsoptionalList<StackSteps>StackStepsoptionalStackSteps[]StackStepsoptional*[]StackSteps#Instructions for stack level steps.
Default: No additional instructions