InputType

class aws_cdk.aws_stepfunctions.InputType(value)

Bases: enum.Enum

The type of task input.

Attributes

OBJECT

Use an object which may contain Data and Context fields as object values, if desired.

example: { literal: ‘literal’, SomeInput: sfn.JsonPath.stringAt(‘$.someField’) }

See

https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html

TEXT

Use a literal string This might be a JSON-encoded object, or just text.

valid JSON text: standalone, quote-delimited strings; objects; arrays; numbers; Boolean values; and null.

example: literal string example: {“json”: “encoded”}