Skip to content

AslState

Defined in: src/types/index.ts:157

A single state within an ASL definition, covering fields for every state type.

Arguments?: string | Record<string, any>;

Defined in: src/types/index.ts:159


Assign?: Record<string, any>;

Defined in: src/types/index.ts:161


Branches?: AslDefinition[];

Defined in: src/types/index.ts:162


Catch?: CatchBlock[];

Defined in: src/types/index.ts:163


Cause?: string;

Defined in: src/types/index.ts:164


CausePath?: string;

Defined in: src/types/index.ts:165


Choices?: ChoiceRule[];

Defined in: src/types/index.ts:166


Comment?: string;

Defined in: src/types/index.ts:167


Credentials?: TaskCredentials;

Defined in: src/types/index.ts:169

Task-specific: the IAM role assumed before invoking Resource.


Default?: string;

Defined in: src/types/index.ts:170


End?: boolean;

Defined in: src/types/index.ts:171


Error?: string;

Defined in: src/types/index.ts:172


ErrorPath?: string;

Defined in: src/types/index.ts:173


HeartbeatSeconds?: string | number;

Defined in: src/types/index.ts:174


HeartbeatSecondsPath?: string;

Defined in: src/types/index.ts:175


InputPath?: string | null;

Defined in: src/types/index.ts:177

JSONPath only: selects the part of the state input to process; null passes {}.


ItemBatcher?: ItemBatcher;

Defined in: src/types/index.ts:178


ItemProcessor?: AslDefinition;

Defined in: src/types/index.ts:179


ItemReader?: ItemIo;

Defined in: src/types/index.ts:180


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?: string | Record<string, any>;

Defined in: src/types/index.ts:182


ItemsPath?: string;

Defined in: src/types/index.ts:186


Iterator?: AslDefinition;

Defined in: src/types/index.ts:187


Label?: string;

Defined in: src/types/index.ts:188


MaxConcurrency?: string | number;

Defined in: src/types/index.ts:189


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?: any;

Defined in: src/types/index.ts:194


OutputPath?: string | null;

Defined in: src/types/index.ts:196

JSONPath only: filters the state output; null passes {}.


Parameters?: Record<string, any>;

Defined in: src/types/index.ts:198


QueryLanguage?: QueryLanguage;

Defined in: src/types/index.ts:199


Resource?: string;

Defined in: src/types/index.ts:200


Result?: any;

Defined in: src/types/index.ts:202


ResultPath?: string | null;

Defined in: src/types/index.ts:203


ResultSelector?: Record<string, any>;

Defined in: src/types/index.ts:206

JSONPath only: reshapes a Task’s result before ResultPath applies.


ResultWriter?: ItemIo;

Defined in: src/types/index.ts:207


Retry?: RetryBlock[];

Defined in: src/types/index.ts:208


Seconds?: string | number;

Defined in: src/types/index.ts:209


SecondsPath?: string;

Defined in: src/types/index.ts:210


TimeoutSeconds?: string | number;

Defined in: src/types/index.ts:211


TimeoutSecondsPath?: string;

Defined in: src/types/index.ts:212


Timestamp?: string;

Defined in: src/types/index.ts:213


TimestampPath?: string;

Defined in: src/types/index.ts:214


ToleratedFailureCount?: string | number;

Defined in: src/types/index.ts:215


ToleratedFailureCountPath?: string;

Defined in: src/types/index.ts:217

JSONPath only: reference path resolving to ToleratedFailureCount.


ToleratedFailurePercentage?: string | number;

Defined in: src/types/index.ts:218


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