Context

class aws_cdk.aws_stepfunctions.Context(*args: Any, **kwargs)

Bases: object

(deprecated) Extract a field from the State Machine Context data.

Deprecated:

replaced by JsonPath

See:

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

Stability:

deprecated

Attributes

entire_context = '${Token[TOKEN.242]}'
task_token = '${Token[Task.Token.243]}'

Static Methods

classmethod number_at(path)

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

Parameters:

path (str) –

Stability:

deprecated

Return type:

Union[int, float]

classmethod string_at(path)

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

Parameters:

path (str) –

Stability:

deprecated

Return type:

str