WaitJsonPathProps

class aws_cdk.aws_stepfunctions.WaitJsonPathProps(*, comment=None, query_language=None, state_name=None, assign=None, input_path=None, output_path=None, time)

Bases: StateBaseProps, AssignableStateOptions, JsonPathCommonOptions

Properties for defining a Wait state that using JSONPath.

Parameters:
  • comment (Optional[str]) – A comment describing this state. Default: No comment

  • query_language (Optional[QueryLanguage]) – The name of the query language used by the state. If the state does not contain a queryLanguage field, then it will use the query language specified in the top-level queryLanguage field. Default: - JSONPath

  • state_name (Optional[str]) – Optional name for this state. Default: - The construct ID will be used as state name

  • assign (Optional[Mapping[str, Any]]) – Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables

  • input_path (Optional[str]) – JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $

  • output_path (Optional[str]) – JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $

  • time (WaitTime) – Wait duration.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions as stepfunctions

# assign: Any
# wait_time: stepfunctions.WaitTime

wait_json_path_props = stepfunctions.WaitJsonPathProps(
    time=wait_time,

    # the properties below are optional
    assign={
        "assign_key": assign
    },
    comment="comment",
    input_path="inputPath",
    output_path="outputPath",
    query_language=stepfunctions.QueryLanguage.JSON_PATH,
    state_name="stateName"
)

Attributes

assign

Workflow variables to store in this step.

Using workflow variables, you can store data in a step and retrieve that data in future steps.

Default:
  • Not assign variables

See:

https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html

comment

A comment describing this state.

Default:

No comment

input_path

JSONPath expression to select part of the state to be the input to this state.

May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.

Default:

$

output_path

JSONPath expression to select part of the state to be the output to this state.

May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

Default:

$

query_language

The name of the query language used by the state.

If the state does not contain a queryLanguage field, then it will use the query language specified in the top-level queryLanguage field.

Default:
  • JSONPath

state_name

Optional name for this state.

Default:
  • The construct ID will be used as state name

time

Wait duration.