# AddStageOpts

Options to pass to `addStage`.

- Source: [`pipelines/lib/blueprint/wave.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/pipelines/lib/blueprint/wave.ts#L80)

## 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

- `post`: [Step](/cdk/api/v2/docs/aws-cdk-lib.pipelines.Step.html)[] — Additional steps to run after all of the stacks in the stage.

  **Default:** No additional steps

- `pre`: [Step](/cdk/api/v2/docs/aws-cdk-lib.pipelines.Step.html)[] — Additional steps to run before any of the stacks in the stage.

  **Default:** No additional steps

- `stackSteps`: [StackSteps](/cdk/api/v2/docs/aws-cdk-lib.pipelines.StackSteps.html)[] — Instructions for stack level steps.

  **Default:** No additional instructions
