Class Result
The result of a Pass operation.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Result : DeputyBase
Syntax (vb)
Public Class Result
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
// Makes the current JSON state { ..., "subObject": { "hello": "world" } }
var pass = new Pass(this, "Add Hello World", new PassProps {
Result = Result.FromObject(new Dictionary<string, object> { { "hello", "world" } }),
ResultPath = "$.subObject"
});
// Set the next state
var nextState = new Pass(this, "NextState");
pass.Next(nextState);
Synopsis
Constructors
Result(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Result(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Result(Object) |
Properties
Value | result of the Pass operation. |
Methods
FromArray(Object[]) | The result of the operation is an array. |
FromBoolean(Boolean) | The result of the operation is a boolean. |
FromNumber(Double) | The result of the operation is a number. |
FromObject(IDictionary<String, Object>) | The result of the operation is an object. |
FromString(String) | The result of the operation is a string. |
Constructors
Result(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Result(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Result(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Result(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Result(Object)
public Result(object value)
Parameters
- value System.Object
result of the Pass operation.
Properties
Value
result of the Pass operation.
public virtual object Value { get; }
Property Value
System.Object
Methods
FromArray(Object[])
The result of the operation is an array.
public static Result FromArray(object[] value)
Parameters
- value System.Object[]
Returns
FromBoolean(Boolean)
The result of the operation is a boolean.
public static Result FromBoolean(bool value)
Parameters
- value System.Boolean
Returns
FromNumber(Double)
The result of the operation is a number.
public static Result FromNumber(double value)
Parameters
- value System.Double
Returns
FromObject(IDictionary<String, Object>)
The result of the operation is an object.
public static Result FromObject(IDictionary<string, object> value)
Parameters
- value System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
FromString(String)
The result of the operation is a string.
public static Result FromString(string value)
Parameters
- value System.String
Returns