# StackSteps

Instructions for additional steps that are run at stack level.

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { pipelines } from 'aws-cdk-lib';

declare const stack: cdk.Stack;
declare const step: pipelines.Step;
const stackSteps: pipelines.StackSteps = {
  stack: stack,

  // the properties below are optional
  changeSet: [step],
  post: [step],
  pre: [step],
};
```

## Properties

- `changeSet`: [Step](/cdk/api/v2/docs/aws-cdk-lib.pipelines.Step.html)[] — Steps that execute after stack is prepared but before stack is deployed.

  **Default:** no additional steps

- `post`: [Step](/cdk/api/v2/docs/aws-cdk-lib.pipelines.Step.html)[] — Steps that execute after stack is deployed.

  **Default:** no additional steps

- `pre`: [Step](/cdk/api/v2/docs/aws-cdk-lib.pipelines.Step.html)[] — Steps that execute before stack is prepared.

  **Default:** no additional steps

- `stack`: [Stack](/cdk/api/v2/docs/aws-cdk-lib.Stack.html) (required) — The stack you want the steps to run in.
