ExtractAslFromTemplateParams
Defined in: src/types/index.ts:908
Parameters for extractAslFromTemplate (from the sfn-diagram/cfn subpath).
Properties
Section titled “Properties”format?
Section titled “format?”optional format?: "auto" | "json" | "yaml";Defined in: src/types/index.ts:910
Input format. ‘auto’ (default) sniffs JSON vs YAML.
resourceId?
Section titled “resourceId?”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
Section titled “template”template: string | Record<string, unknown>;Defined in: src/types/index.ts:914
Raw template string (JSON or YAML) or an already-parsed template object.