CmdID / aws / aws stepfunctions
aws stepfunctions test-state
Accepts the definition of a single state and executes it. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--contextA JSON string representing a valid Context object for the state under test.--definitionThe Amazon States Language (ASL) definition of the state or state machine.--inputA string that contains the JSON input data for the state.--inspection-levelDetermines the values to return when a state is tested.--mockDefines a mocked result or error for the state under test.--reveal-secretsSpecifies whether or not to include secret information in the test result.--role-arnThe Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.--state-configurationContains configurations for the state under test.--state-nameDenotes the particular state within a state machine definition to be tested.--variablesJSON object literal that sets variables used in the state under test.