Skip to content
v2.277.0

WaveProps Struct ​

Construction properties for a Wave.

Example ​

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
# 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
// 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();
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 }
};
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 ​

postoptionalStep[]postoptionaltyping.List[Step]postoptionalList<Step>PostoptionalStep[]Postoptional*[]Step#
Additional steps to run after all of the stages in the wave.

Default: No additional steps

preoptionalStep[]preoptionaltyping.List[Step]preoptionalList<Step>PreoptionalStep[]Preoptional*[]Step#
Additional steps to run before any of the stages in the wave.

Default: No additional steps