ProvideItems Class
The array that the Map state will iterate over.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
declare const array: any;
const provideItems = stepfunctions.ProvideItems.jsonArray([array]);
Initializer
ts
new ProvideItems()
python
ProvideItems()
java
new ProvideItems()
csharp
new ProvideItems()
go
NewProvideItems()
Properties
The array that the Map state will iterate over.
Methods
jsonArray(array: any[]): ProvideItems // chainable@staticmethod def json_array(array: typing.List[Any]) -> ProvideItemspublic static ProvideItems jsonArray(List<Object> array)public static ProvideItems JsonArray(object[] array)func JsonArray(Array *[]interface{}) ProvideItemsstatic#Use a JSON array as Map state items.
Example value: [1, "{% $two %}", 3]
jsonata(jsonataExpression: string): ProvideItems // chainable@staticmethod def jsonata(jsonata_expression: str) -> ProvideItemspublic static ProvideItems jsonata(String jsonataExpression)public static ProvideItems Jsonata(string jsonataExpression)func Jsonata(JsonataExpression *string) ProvideItemsstatic#Use a JSONata expression as Map state items.
Example value: {% $states.input.items %}