AddStageOpts
- class aws_cdk.pipelines.AddStageOpts(*, post=None, pre=None, stack_steps=None)
Bases:
object
Options to pass to
addStage
.- Parameters:
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
- ExampleMetadata:
infused
Example:
# pipeline: pipelines.CodePipeline topic = sns.Topic(self, "SecurityChangesTopic") topic.add_subscription(subscriptions.EmailSubscription("test@email.com")) stage = MyApplicationStage(self, "MyApplication") pipeline.add_stage(stage, pre=[ pipelines.ConfirmPermissionsBroadening("Check", stage=stage, notification_topic=topic ) ] )
Attributes
- post
Additional steps to run after all of the stacks in the stage.
- Default:
No additional steps
- pre
Additional steps to run before any of the stacks in the stage.
- Default:
No additional steps
- stack_steps
Instructions for stack level steps.
- Default:
No additional instructions