AslState
Defined in: src/types/index.ts:157
A single state within an ASL definition, covering fields for every state type.
Properties
Section titled “Properties”Arguments?
Section titled “Arguments?”Arguments?: string | Record<string, any>;Defined in: src/types/index.ts:159
Assign?
Section titled “Assign?”Assign?: Record<string, any>;Defined in: src/types/index.ts:161
Branches?
Section titled “Branches?”Branches?: AslDefinition[];Defined in: src/types/index.ts:162
Catch?
Section titled “Catch?”Catch?: CatchBlock[];Defined in: src/types/index.ts:163
Cause?
Section titled “Cause?”Cause?: string;Defined in: src/types/index.ts:164
CausePath?
Section titled “CausePath?”CausePath?: string;Defined in: src/types/index.ts:165
Choices?
Section titled “Choices?”Choices?: ChoiceRule[];Defined in: src/types/index.ts:166
Comment?
Section titled “Comment?”Comment?: string;Defined in: src/types/index.ts:167
Credentials?
Section titled “Credentials?”Credentials?: TaskCredentials;Defined in: src/types/index.ts:169
Task-specific: the IAM role assumed before invoking Resource.
Default?
Section titled “Default?”Default?: string;Defined in: src/types/index.ts:170
End?: boolean;Defined in: src/types/index.ts:171
Error?
Section titled “Error?”Error?: string;Defined in: src/types/index.ts:172
ErrorPath?
Section titled “ErrorPath?”ErrorPath?: string;Defined in: src/types/index.ts:173
HeartbeatSeconds?
Section titled “HeartbeatSeconds?”HeartbeatSeconds?: string | number;Defined in: src/types/index.ts:174
HeartbeatSecondsPath?
Section titled “HeartbeatSecondsPath?”HeartbeatSecondsPath?: string;Defined in: src/types/index.ts:175
InputPath?
Section titled “InputPath?”InputPath?: string | null;Defined in: src/types/index.ts:177
JSONPath only: selects the part of the state input to process; null passes {}.
ItemBatcher?
Section titled “ItemBatcher?”ItemBatcher?: ItemBatcher;Defined in: src/types/index.ts:178
ItemProcessor?
Section titled “ItemProcessor?”ItemProcessor?: AslDefinition;Defined in: src/types/index.ts:179
ItemReader?
Section titled “ItemReader?”ItemReader?: ItemIo;Defined in: src/types/index.ts:180
Items?
Section titled “Items?”Items?: string | any[] | Record<string, any>;Defined in: src/types/index.ts:185
JSONata only: the Map’s items — an array, an expression, or (Distributed Map only) an object.
ItemSelector?
Section titled “ItemSelector?”ItemSelector?: string | Record<string, any>;Defined in: src/types/index.ts:182
ItemsPath?
Section titled “ItemsPath?”ItemsPath?: string;Defined in: src/types/index.ts:186
Iterator?
Section titled “Iterator?”Iterator?: AslDefinition;Defined in: src/types/index.ts:187
Label?
Section titled “Label?”Label?: string;Defined in: src/types/index.ts:188
MaxConcurrency?
Section titled “MaxConcurrency?”MaxConcurrency?: string | number;Defined in: src/types/index.ts:189
MaxConcurrencyPath?
Section titled “MaxConcurrencyPath?”MaxConcurrencyPath?: string;Defined in: src/types/index.ts:191
JSONPath only: reference path resolving to MaxConcurrency.
Next?: string;Defined in: src/types/index.ts:192
Output?
Section titled “Output?”Output?: any;Defined in: src/types/index.ts:194
OutputPath?
Section titled “OutputPath?”OutputPath?: string | null;Defined in: src/types/index.ts:196
JSONPath only: filters the state output; null passes {}.
Parameters?
Section titled “Parameters?”Parameters?: Record<string, any>;Defined in: src/types/index.ts:198
QueryLanguage?
Section titled “QueryLanguage?”QueryLanguage?: QueryLanguage;Defined in: src/types/index.ts:199
Resource?
Section titled “Resource?”Resource?: string;Defined in: src/types/index.ts:200
Result?
Section titled “Result?”Result?: any;Defined in: src/types/index.ts:202
ResultPath?
Section titled “ResultPath?”ResultPath?: string | null;Defined in: src/types/index.ts:203
ResultSelector?
Section titled “ResultSelector?”ResultSelector?: Record<string, any>;Defined in: src/types/index.ts:206
JSONPath only: reshapes a Task’s result before ResultPath applies.
ResultWriter?
Section titled “ResultWriter?”ResultWriter?: ItemIo;Defined in: src/types/index.ts:207
Retry?
Section titled “Retry?”Retry?: RetryBlock[];Defined in: src/types/index.ts:208
Seconds?
Section titled “Seconds?”Seconds?: string | number;Defined in: src/types/index.ts:209
SecondsPath?
Section titled “SecondsPath?”SecondsPath?: string;Defined in: src/types/index.ts:210
TimeoutSeconds?
Section titled “TimeoutSeconds?”TimeoutSeconds?: string | number;Defined in: src/types/index.ts:211
TimeoutSecondsPath?
Section titled “TimeoutSecondsPath?”TimeoutSecondsPath?: string;Defined in: src/types/index.ts:212
Timestamp?
Section titled “Timestamp?”Timestamp?: string;Defined in: src/types/index.ts:213
TimestampPath?
Section titled “TimestampPath?”TimestampPath?: string;Defined in: src/types/index.ts:214
ToleratedFailureCount?
Section titled “ToleratedFailureCount?”ToleratedFailureCount?: string | number;Defined in: src/types/index.ts:215
ToleratedFailureCountPath?
Section titled “ToleratedFailureCountPath?”ToleratedFailureCountPath?: string;Defined in: src/types/index.ts:217
JSONPath only: reference path resolving to ToleratedFailureCount.
ToleratedFailurePercentage?
Section titled “ToleratedFailurePercentage?”ToleratedFailurePercentage?: string | number;Defined in: src/types/index.ts:218
ToleratedFailurePercentagePath?
Section titled “ToleratedFailurePercentagePath?”ToleratedFailurePercentagePath?: string;Defined in: src/types/index.ts:220
JSONPath only: reference path resolving to ToleratedFailurePercentage.
Type: StateType;Defined in: src/types/index.ts:221