@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:51.893Z")
public interface WaveOptions
Example:
CodePipeline pipeline = CodePipeline.Builder.create(this, "Pipeline") .synth(ShellStep.Builder.create("Synth") .input(CodePipelineSource.connection("my-org/my-app", "main", ConnectionSourceOptions.builder() .connectionArn("arn:aws:codestar-connections:us-east-1:222222222222:connection/7d2469ff-514a-4e4f-9003-5ca4a43cdc41") .build())) .commands(List.of("npm ci", "npm run build", "npx cdk synth")) .build()) // Turn this on because the pipeline uses Docker image assets .dockerEnabledForSelfMutation(true) .build(); pipeline.addWave("MyWave", WaveOptions.builder() .post(List.of( CodeBuildStep.Builder.create("RunApproval") .commands(List.of("command-from-image")) .buildEnvironment(BuildEnvironment.builder() // The user of a Docker image asset in the pipeline requires turning on // 'dockerEnabledForSelfMutation'. .buildImage(LinuxBuildImage.fromAsset(this, "Image", DockerImageAssetProps.builder() .directory("./docker-image") .build())) .build()) .build())) .build());
Modifier and Type | Interface and Description |
---|---|
static class |
WaveOptions.Builder
A builder for
WaveOptions |
static class |
WaveOptions.Jsii$Proxy
An implementation for
WaveOptions |
Modifier and Type | Method and Description |
---|---|
static WaveOptions.Builder |
builder() |
default java.util.List<Step> |
getPost()
Additional steps to run after all of the stages in the wave.
|
default java.util.List<Step> |
getPre()
Additional steps to run before any of the stages in the wave.
|
default java.util.List<Step> getPost()
Default: - No additional steps
default java.util.List<Step> getPre()
Default: - No additional steps
static WaveOptions.Builder builder()
WaveOptions.Builder
of WaveOptions