Class StageOptions
Inheritance
System.Object
StageOptions
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StageOptions : Object, IStageOptions, IStageProps
Syntax (vb)
Public Class StageOptions
Inherits Object
Implements IStageOptions, IStageProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.StepFunctions;
var pipeline = new Pipeline(this, "MyPipeline");
var startState = new Pass(this, "StartState");
var simpleStateMachine = new StateMachine(this, "SimpleStateMachine", new StateMachineProps {
Definition = startState
});
var stepFunctionAction = new StepFunctionInvokeAction(new StepFunctionsInvokeActionProps {
ActionName = "Invoke",
StateMachine = simpleStateMachine,
StateMachineInput = StateMachineInput.Literal(new Dictionary<string, boolean> { { "IsHelloWorldExample", true } })
});
pipeline.AddStage(new StageOptions {
StageName = "StepFunctions",
Actions = new [] { stepFunctionAction }
});
Synopsis
Constructors
StageOptions() |
Properties
Actions | The list of Actions to create this Stage with. |
Placement | |
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. |
Constructors
StageOptions()
public StageOptions()
Properties
Actions
The list of Actions to create this Stage with.
public IAction[] Actions { get; set; }
Property Value
IAction[]
Remarks
You can always add more Actions later by calling IStage#addAction
.
Placement
StageName
The physical, human-readable name to assign to this Pipeline Stage.
public string StageName { get; set; }
Property Value
System.String
TransitionDisabledReason
The reason for disabling transition to this stage.
public string TransitionDisabledReason { get; set; }
Property Value
System.String
Remarks
Only applicable
if transitionToEnabled
is set to false
.
Default: 'Transition disabled'
TransitionToEnabled
Whether to enable transition to this stage.
public Nullable<bool> TransitionToEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true