WaitTime

class aws_cdk.aws_stepfunctions.WaitTime

Bases: object

Represents the Wait state which delays a state machine from continuing for a specified time.

see :see: https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-wait-state.html

Static Methods

classmethod duration(duration)

Wait a fixed amount of time.

Parameters

duration (Duration) –

Return type

WaitTime

classmethod seconds_path(path)

Wait for a number of seconds stored in the state object.

Parameters

path (str) –

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
$.wait_seconds
Return type

WaitTime

classmethod timestamp(timestamp)

Wait until the given ISO8601 timestamp.

Parameters

timestamp (str) –

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
2016 - 03 - 14T01:5900Z
Return type

WaitTime

classmethod timestamp_path(path)

Wait until a timestamp found in the state object.

Parameters

path (str) –

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
$.wait_timestamp
Return type

WaitTime