StagePlacement

class aws_cdk.aws_codepipeline.StagePlacement(*, just_after=None, right_before=None)

Bases: object

Allows you to control where to place a new Stage when it’s added to the Pipeline.

Note that you can provide only one of the below properties - specifying more than one will result in a validation error.

Parameters
  • just_after (Optional[IStage]) – Inserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one).

  • right_before (Optional[IStage]) – Inserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one).

See

#justAfter

Attributes

just_after

Inserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one).

Return type

Optional[IStage]

right_before

Inserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one).

Return type

Optional[IStage]