2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Destinations will trigger only on async invocation. The TEST button on the console invokes the function synchronously. You'll need to test via the aws cli to see it in action.
Here's a command to test it
aws lambda invoke --function-name lambdaA --cli-binary-format raw-in-base64-out --invocation-type Event --payload '{"my": "event"}' result.json
This is also detailed on the blog
The other option is async invocation using Amazon S3, Amazon SNS, Amazon EventBridge etc.
1
You should invoke lambda(A) asynchronously.
e.g. Trigger lambda(A) by EventBridge event.
https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
Regards.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 6 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 6 mois
From the vague use case description, Event Bridge or Step Functions would appear to meet his needs.