AWS Step Functions is the AWS serverless workflow orchestrator. Polysync uses the official AWS SDK for .NET v4 (AWSSDK.StepFunctions and AWSSDK.SecurityToken) to list state machines, start executions with a JSON input, poll execution status, parse output parameters from the execution result, and surface a direct link to the AWS Step Functions console for monitoring.
us-east-1, ap-southeast-2). All Step Functions API calls are region-scoped.sts:AssumeRoleWithWebIdentity. No long-lived secrets stored. Required attributes: Role ARN.
https://login.microsoftonline.com/<polysync-tenant-id>/v2.0) with audience sts.amazonaws.com.sts:AssumeRoleWithWebIdentity from that provider with a condition on the Polysync workload identity's sub/oid claim.sts:AssumeRole on the target role; the assumed role holds the Step Functions permissions.The role / user used to call Step Functions must hold (at minimum):
states:ListStateMachines — discover available state machines.states:DescribeStateMachine — read state machine metadata, including ARN, type, and execution role.states:StartExecution — start executions (scope to specific state-machine ARNs in production).states:DescribeExecution — poll execution status and read output.states:StopExecution — cancel running executions.Plus any IAM permissions the state machine's own execution role needs to call downstream services (defined on the state machine's role, not the Polysync caller).
AccessDeniedException on listing state machines — the caller is missing states:ListStateMachines in the target region.InvalidIdentityToken — check that the IAM Identity Provider's thumbprint matches login.microsoftonline.com, the audience is sts.amazonaws.com, and the role trust policy allows the Polysync workload identity's sub / oid.