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"
    ]
  }
}'
posta 4 anni fa839 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
Raphael
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande