class Data
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Data |
![]() | software.amazon.awscdk.services.stepfunctions.Data |
![]() | aws_cdk.aws_stepfunctions.Data |
![]() | @aws-cdk/aws-stepfunctions » Data |
⚠️ Deprecated: replaced by JsonPath
Extract a field from the State Machine data that gets passed around between states.
Properties
Name | Type | Description |
---|---|---|
static entire | string | Use the entire data structure. |
static entirePayload
⚠️ Deprecated: replaced by JsonPath
Type:
string
Use the entire data structure.
Will be an object at invocation time, but is represented in the CDK application as a string.
Methods
Name | Description |
---|---|
static is | Determines if the indicated string is an encoded JSON path. |
static list | Instead of using a literal string list, get the value from a JSON path. |
static number | Instead of using a literal number, get the value from a JSON path. |
static string | Instead of using a literal string, get the value from a JSON path. |
static isJsonPathString(value)
public static isJsonPathString(value: string): boolean
⚠️ Deprecated: replaced by JsonPath
Parameters
- value
string
— string to be evaluated.
Returns
boolean
Determines if the indicated string is an encoded JSON path.
static listAt(path)
public static listAt(path: string): string[]
⚠️ Deprecated: replaced by JsonPath
Parameters
- path
string
Returns
string[]
Instead of using a literal string list, get the value from a JSON path.
static numberAt(path)
public static numberAt(path: string): number
⚠️ Deprecated: replaced by JsonPath
Parameters
- path
string
Returns
number
Instead of using a literal number, get the value from a JSON path.
static stringAt(path)
public static stringAt(path: string): string
⚠️ Deprecated: replaced by JsonPath
Parameters
- path
string
Returns
string
Instead of using a literal string, get the value from a JSON path.