Show / Hide Table of Contents

Interface IStagePlacement

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

Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public interface IStagePlacement
Syntax (vb)
Public Interface IStagePlacement
Remarks

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

See: #justAfter

ExampleMetadata: infused

Examples
// Insert a new Stage at an arbitrary point
Pipeline pipeline;
IStage anotherStage;
IStage yetAnotherStage;


IStage someStage = pipeline.AddStage(new StageOptions {
    StageName = "SomeStage",
    Placement = new StagePlacement {
        // note: you can only specify one of the below properties
        RightBefore = anotherStage,
        JustAfter = yetAnotherStage
    }
});

Synopsis

Properties

JustAfter

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

RightBefore

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

Properties

JustAfter

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

virtual IStage JustAfter { get; }
Property Value

IStage

RightBefore

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

virtual IStage RightBefore { get; }
Property Value

IStage

Back to top Generated by DocFX