Notification for snapshot creation at email everyday

0

{ "source": ["aws.ec2"], "detail-type": ["EBS Snapshot Notification"], "detail": { "event": ["createSnapshot"], "source": ["arn:aws:ec2:us-east-1:233274203099:volume/vol-07da647d1709c19b4"] } } This event bridge rule creates an issue with multiple snapshots, but even after the target is on sns topic subscription, no emails were there in the subscribed email address. I need an email that my lifecycle rule for volume has created a snapshot for success. What can be the way how to get it.

1 réponse
0

In my environment I receive emails with the same event pattern as yours.
If the ARN of the specified EBS is different, the rule will not be executed.
Check "Invocations" and "TriggeredRules" in CloudWatch metrics.
If there are no metrics, the rule may not have been executed.
If the rule is running, check all your email inboxes.

For reference, this is the event pattern used in my environment.
Volume ID is masked.

{
  "source": ["aws.ec2"],
  "detail-type": ["EBS Snapshot Notification"],
  "detail": {
    "event": ["createSnapshot"],
    "source": ["arn:aws:ec2::ap-northeast-1:volume/vol-xxxxxxxxxxx"]
  }
}
profile picture
EXPERT
répondu il y a un an

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