2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You can add more information to the original event (from producer) and create your own event to be handled by the consumer. Use SDK DescribeTags
with the instanceID
from the original event to Instance tags and add it to the custom event. See diagram:
┌-----------------Custom event---------------- ┐
| |
| Producer | ---- >|Event bus|------ Event does not match tags ----> | Lambda Enrich |
|
└ --------match tags------>| Consumer|
répondu il y a 2 ans
0
Will give that a try thank you.
répondu il y a 2 ans
Hey @RobWoodcock, Did you find the solution? we are in the same boat!
Contenus pertinents
- demandé il y a 10 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 10 mois
Hello @Igvir,
I hope you doing well. Could you please elaborate on the diagram of how it works exactly? (I am pretty new to AWS) Did you mean need to create 3 rules? What does the mean Producer/Consumer/Lambda Enrich?
Here are my input transformers: {"account":"$.account","instance":"$.detail.instance-id","region":"$.region","state":"$.detail.state","tags":"$.Key|Value","time":"$.time"}
It would very helpful If you help me display the "instance name".
Thanks in Advance!