SQS → Lambda (event source mapping)
Queue messages trigger a Lambda via event source mapping. Credential refresh and authz depth vary by smoke; treat as partial until the ESM path you need is listed green in the matrix.
Status: partial · See matrix rows for SQS / Lambda ESM and related Debt tickets
Sequence
- Create queue + function + event source mapping.
- Send message; function consumes.
- Confirm mapping enabled; sad paths depend on the specific smoke (role delete, deny, etc.).
Prove it
Named smokes (need python3 + boto3; cred-refresh needs short AWSBOX_STS_ASSUME_ROLE_DURATION + LocalEmu recreate):
./smokes/lambda/sqs-lambda-esm-cred-refresh-smoke.sh— SQS past STS expiry + role-deleteLastProcessingResult· #475./smokes/lambda/stream-lambda-esm-cred-refresh-smoke.sh— Kinesis + DynamoDB stream past STS expiry · #477- Also:
sqs-lambda-dlq-smoke.sh,sqs-lambda-batch-failures-smoke.sh,sqs-lambda-esm-enable-smoke.sh
Search test-paths for ESM / event source for the full set. Do not claim unlisted ESM behaviours.