Skip to content

ExtractAslFromTemplateParams

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

Parameters for extractAslFromTemplate (from the sfn-diagram/cfn subpath).

optional format?: "auto" | "json" | "yaml";

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

Input format. ‘auto’ (default) sniffs JSON vs YAML.


optional resourceId?: string;

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

Logical id of the state machine to extract when the template has more than one.


template: string | Record<string, unknown>;

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

Raw template string (JSON or YAML) or an already-parsed template object.