# WaveProps

Construction properties for a `Wave`.

Used as props by: [Wave](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.Wave.html)

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

## Example

TypeScript:

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

declare const step: pipelines.Step;
const waveProps: pipelines.WaveProps = {
  post: [step],
  pre: [step],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import pipelines

# step: pipelines.Step

wave_props = pipelines.WaveProps(
    post=[step],
    pre=[step]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.pipelines.*;

Step step;

WaveProps waveProps = WaveProps.builder()
        .post(List.of(step))
        .pre(List.of(step))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Pipelines;

Step step;

var waveProps = new WaveProps {
    Post = new [] { step },
    Pre = new [] { step }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var step Step

waveProps := &WaveProps{
	Post: []Step{
		step,
	},
	Pre: []Step{
		step,
	},
}
```

## Properties

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

  **Default:** No additional steps

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

  **Default:** No additional steps
