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"
    ]
  }
}'
preguntada hace 4 años836 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
Raphael
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas