Interface IStageProps
Construction properties of a Pipeline Stage.
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public interface IStageProps
Syntax (vb)
Public Interface IStageProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
Action action;
var stageProps = new StageProps {
StageName = "stageName",
// the properties below are optional
Actions = new [] { action },
TransitionDisabledReason = "transitionDisabledReason",
TransitionToEnabled = false
};
Synopsis
Properties
Actions | The list of Actions to create this Stage with. |
StageName | The physical, human-readable name to assign to this Pipeline Stage. |
TransitionDisabledReason | The reason for disabling transition to this stage. |
TransitionToEnabled | Whether to enable transition to this stage. |
Properties
Actions
The list of Actions to create this Stage with.
virtual IAction[] Actions { get; }
Property Value
IAction[]
Remarks
You can always add more Actions later by calling {@link IStage#addAction}.
StageName
The physical, human-readable name to assign to this Pipeline Stage.
string StageName { get; }
Property Value
System.String
TransitionDisabledReason
The reason for disabling transition to this stage.
virtual string TransitionDisabledReason { get; }
Property Value
System.String
Remarks
Only applicable
if transitionToEnabled
is set to false
.
Default: 'Transition disabled'
TransitionToEnabled
Whether to enable transition to this stage.
virtual Nullable<bool> TransitionToEnabled { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true