Context

class aws_cdk.aws_stepfunctions.Context

Bases: object

Extract a field from the State Machine Context data.

see :see: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#wait-token-contextobject stability :stability: experimental

Attributes

entire_context = '${Token[TOKEN.57]}'
task_token = '${Token[Task.Token.58]}'

Static Methods

classmethod number_at(path)

Instead of using a literal number, get the value from a JSON path.

Parameters

path (str) –

stability :stability: experimental

Return type

Union[int, float]

classmethod string_at(path)

Instead of using a literal string, get the value from a JSON path.

Parameters

path (str) –

stability :stability: experimental

Return type

str