Builder

class Builder

Properties

Link copied to clipboard

A JSON string representing a valid Context object for the state under test. This field may only be specified if a mock is specified in the same request.

Link copied to clipboard

The Amazon States Language (ASL) definition of the state or state machine.

Link copied to clipboard

A string that contains the JSON input data for the state.

Link copied to clipboard

Determines the values to return when a state is tested. You can specify one of the following types:

Link copied to clipboard

Defines a mocked result or error for the state under test.

Link copied to clipboard

Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

Link copied to clipboard

The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.

Link copied to clipboard

Contains configurations for the state under test.

Link copied to clipboard

Denotes the particular state within a state machine definition to be tested. If this field is specified, the definition must contain a fully-formed state machine definition.

Link copied to clipboard

JSON object literal that sets variables used in the state under test. Object keys are the variable names and values are the variable values.

Functions

Link copied to clipboard
fun mock(block: MockInput.Builder.() -> Unit)