AWS Lambda is the AWS serverless compute service. Polysync uses the official AWS SDK for .NET v4 (AWSSDK.Lambda and AWSSDK.SecurityToken) to list functions, invoke them with a JSON event payload, parse output parameters from the response, and surface a direct link to the AWS Lambda console for monitoring.
us-east-1, ap-southeast-2). All Lambda API calls are region-scoped.RequestResponse (synchronous, default), Event (asynchronous fire-and-forget), or DryRun (validation only).PROD, 1). Omit to invoke $LATEST.Both can be overridden per Polysync Job. Precedence: job override → platform default → RequestResponse (no qualifier).
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 Lambda permissions.The role / user used to call Lambda must hold (at minimum):
lambda:ListFunctions — discover available functions.lambda:GetFunction — read function metadata (name, description, qualifier).lambda:InvokeFunction — invoke functions (scope to specific function ARNs in production).Plus any IAM permissions the Lambda execution role needs to access downstream AWS services (defined on the Lambda's role, not the Polysync caller).
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.AccessDeniedException on listing functions — the caller is missing lambda:ListFunctions in the target region.