How to generate an event to a microservice from a cloudwatch alert

0

I need to generate an event in order to a microservice can proseced it. That event must be generate from aws cloudwatch alert. ¿How can I implement it?

질문됨 2년 전216회 조회
1개 답변
2

Hi, not sure how you intend your microservice would consume the event? Would your microservice be able to consume EventBridge events (e.g. through an ECS task, lambda function or API destination)? If so, you might be interested by the fact that alarms automatically publish all their state and configuration change events to EventBridge (cf. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-and-eventbridge.html), so you could simply write a rule that watches for CloudWatch Alarm event patterns and set the target to your microservice entry point?

profile pictureAWS
Jsc
답변함 2년 전
  • Hi Jsc, thanks a lot for your comment. I'm going to check.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠