Class FieldUtils
Helper functions to work with structures containing fields.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FieldUtils : DeputyBase
Syntax (vb)
Public Class FieldUtils
Inherits DeputyBase
Synopsis
Constructors
FieldUtils(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FieldUtils(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
ContainsTaskToken(IDictionary<String, Object>) | Returns whether the given task structure contains the TaskToken field anywhere. |
FindReferencedPaths(IDictionary<String, Object>) | Return all JSON paths used in the given structure. |
RenderObject(IDictionary<String, Object>) | Render a JSON structure containing fields to the right StepFunctions structure. |
Constructors
FieldUtils(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FieldUtils(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FieldUtils(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FieldUtils(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
ContainsTaskToken(IDictionary<String, Object>)
Returns whether the given task structure contains the TaskToken field anywhere.
public static bool ContainsTaskToken(IDictionary<string, object> obj = null)
Parameters
- obj System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Boolean
Remarks
The field is considered included if the field itself or one of its containing fields occurs anywhere in the payload.
FindReferencedPaths(IDictionary<String, Object>)
Return all JSON paths used in the given structure.
public static string[] FindReferencedPaths(IDictionary<string, object> obj = null)
Parameters
- obj System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.String[]
RenderObject(IDictionary<String, Object>)
Render a JSON structure containing fields to the right StepFunctions structure.
public static IDictionary<string, object> RenderObject(IDictionary<string, object> obj = null)
Parameters
- obj System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>