Class ChoiceTransitionOptions
Options for Choice Transition.
Inheritance
System.Object
ChoiceTransitionOptions
Implements
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ChoiceTransitionOptions : Object, IChoiceTransitionOptions
Syntax (vb)
Public Class ChoiceTransitionOptions
Inherits Object
Implements IChoiceTransitionOptions
Remarks
ExampleMetadata: infused
Examples
var choice = new Choice(this, "What color is it?", new ChoiceProps {
Comment = "color comment"
});
var handleBlueItem = new Pass(this, "HandleBlueItem");
var handleOtherItemColor = new Pass(this, "HanldeOtherItemColor");
choice.When(Condition.StringEquals("$.color", "BLUE"), handleBlueItem, new ChoiceTransitionOptions {
Comment = "blue item comment"
});
choice.Otherwise(handleOtherItemColor);
Synopsis
Constructors
ChoiceTransitionOptions() |
Properties
Comment | An optional description for the choice transition. |
Constructors
ChoiceTransitionOptions()
public ChoiceTransitionOptions()
Properties
Comment
An optional description for the choice transition.
public string Comment { get; set; }
Property Value
System.String
Remarks
Default: No comment