Automating PHD Notifications

0

A customer is trying to automate the PHD notifications using Health API. Here is a scenario they are trying to achieve.

Create a CW Event Rule for a Schedule Notification for all the Services.

They are able to do it for an individual service (EC2, RDS, DX etc) but not for all services as the Dropdown only allows to select one service. I advised them that they could use Custom Event pattern option instead of going for dropdown approach to do something like this. But they are asking if there is a way to test it. Is there a way to add dummy PHD notifications for test? If not, Is there a way we could solve this use case for the customer?

Here is the custom event pattern I suggested:

'{
  "source": [
"aws.health"
  ],
  "detail-type": [
    "AWS Health Event"
  ],
  "detail": {
    "eventTypeCategory": [
      "scheduledChange"
    ]
  }
}'
demandé il y a 4 ans839 vues
1 réponse
0
Réponse acceptée

You are right, you can use the DescribeEventTypes API to get detailed event types if you would like to apply a filter.

Done something similar with a customer though they decided to forward all AWS Health events to a central bus (and notifications from there) to make sure nothing gets "lost" and not having to maintain it execept for filtering out.

AWS
EXPERT
Raphael
répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions