FieldUtils

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

Bases: object

Helper functions to work with structures containing fields.

Static Methods

classmethod contains_task_token(obj=None)

Returns whether the given task structure contains the TaskToken field anywhere.

The field is considered included if the field itself or one of its containing fields occurs anywhere in the payload.

Parameters:

obj (Optional[Mapping[str, Any]]) –

Return type:

bool

classmethod find_referenced_paths(obj=None)

Return all JSON paths used in the given structure.

Parameters:

obj (Optional[Mapping[str, Any]]) –

Return type:

List[str]

classmethod render_object(obj=None)

Render a JSON structure containing fields to the right StepFunctions structure.

Parameters:

obj (Optional[Mapping[str, Any]]) –

Return type:

Optional[Mapping[str, Any]]