mock

fun mock(block: MockInput.Builder.() -> Unit)

construct an aws.sdk.kotlin.services.sfn.model.MockInput inside the given block


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

A mock can only be specified for Task, Map, or Parallel states. If it is specified for another state type, an exception will be thrown.