import { type Value } from "@intentius/chant"; import { Role, Role_Policy, LogGroup, StateMachine } from "../generated/index.js"; export interface StepFunctionsWorkflowProps { /** `Value`: a name is routinely built with `Sub`/`Ref` (#1366). */ name?: Value; /** * ASL state machine definition, authored as a plain object. Passed to * CloudFormation's `Definition` property rather than `DefinitionString`: * CFN accepts the definition as a native JSON value (verified against * Floci — both forms round-trip), so a task's `Resource` can carry a * `Ref`/`Fn::GetAtt` intrinsic — e.g. `Resource: someFunc.Arn` — directly, * with no `Fn::Sub` string templating needed to splice ARNs into a JSON * string. Same `Value`-over-string-building bias as #1366, one level up. */ definition: Record; /** ARNs of the Lambda functions this workflow's tasks invoke; grants `lambda:InvokeFunction` on each. */ lambdaFunctionArns?: Value[]; stateMachineType?: "STANDARD" | "EXPRESS"; /** CloudWatch Logs retention for the auto-created log group. Default 14. */ logRetentionDays?: number; /** `LoggingConfiguration` level. Default `"ALL"` — set `"OFF"` to skip execution logging. */ loggingLevel?: "ALL" | "ERROR" | "FATAL" | "OFF"; ManagedPolicyArns?: string[]; Policies?: InstanceType[]; defaults?: { role?: Partial[0]>; logGroup?: Partial[0]>; stateMachine?: Partial[0]>; }; } export declare const StepFunctionsWorkflow: import("@intentius/chant").CompositeDefinition; logGroup: import("@intentius/chant").Declarable & Record; stateMachine: import("@intentius/chant").Declarable & Record; }>; //# sourceMappingURL=step-functions-workflow.d.ts.map