Wave
- class aws_cdk.pipelines.Wave(id, *, post=None, pre=None)
Bases:
objectMultiple stages that are deployed in parallel.
- ExampleMetadata:
infused
Example:
# pipeline: pipelines.CodePipeline europe_wave = pipeline.add_wave("Europe") europe_wave.add_stage( MyApplicationStage(self, "Ireland", env=cdk.Environment(region="eu-west-1") )) europe_wave.add_stage( MyApplicationStage(self, "Germany", env=cdk.Environment(region="eu-central-1") ))
- Parameters:
Methods
- add_post(*steps)
Add an additional step to run after all of the stages in this wave.
- Parameters:
steps (
Step)- Return type:
None
- add_pre(*steps)
Add an additional step to run before any of the stages in this wave.
- Parameters:
steps (
Step)- Return type:
None
- add_stage(stage, *, post=None, pre=None, stack_steps=None)
Add a Stage to this wave.
It will be deployed in parallel with all other stages in this wave.
- Parameters:
stage (
Stage)post (
Optional[Sequence[Step]]) – Additional steps to run after all of the stacks in the stage. Default: - No additional stepspre (
Optional[Sequence[Step]]) – Additional steps to run before any of the stacks in the stage. Default: - No additional stepsstack_steps (
Optional[Sequence[Union[StackSteps,Dict[str,Any]]]]) – Instructions for stack level steps. Default: - No additional instructions
- Return type:
Attributes
- id
Identifier for this Wave.
- post
Additional steps that are run after all of the stages in the wave.
- pre
Additional steps that are run before any of the stages in the wave.
- stages
The stages that are deployed in this wave.