Class Succeed
Define a Succeed state in the state machine.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.AWS.StepFunctions.dll
Syntax (csharp)
public class Succeed : State, IConstruct, IDependable, IChainable
Syntax (vb)
Public Class Succeed
Inherits State
Implements IConstruct, IDependable, IChainable
Remarks
Reaching a Succeed state terminates the state execution in success.
ExampleMetadata: infused
Examples
var success = new Succeed(this, "We did it!");
Synopsis
Constructors
Succeed(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Succeed(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Succeed(Construct, String, ISucceedProps) |
Properties
EndStates | Continuable states of this Chainable. |
Methods
ToStateJson() | Return the Amazon States Language object for this state. |
Constructors
Succeed(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Succeed(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Succeed(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Succeed(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Succeed(Construct, String, ISucceedProps)
public Succeed(Construct scope, string id, ISucceedProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props ISucceedProps
Properties
EndStates
Continuable states of this Chainable.
public override INextable[] EndStates { get; }
Property Value
Overrides
Methods
ToStateJson()
Return the Amazon States Language object for this state.
public override JObject ToStateJson()
Returns
Newtonsoft.Json.Linq.JObject
Overrides
Implements
Constructs.IConstruct