How to attach a sns event notification to a sagemaker pipeline?

0

Does sagamaker pipeline support , sending success/failure of the pipeline execution ? I want to see if I can trigger a aba notification when the pipeline completes either with success or failure .

gefragt vor 3 Monaten263 Aufrufe
1 Antwort
0

To trigger an SNS notification when the pipeline completes:

Create an SNS topic that will receive the notifications.

Add an SnsAlarm action to the pipeline configuration. Configure it to run on failure of the pipeline execution and pass the error details.

For example:

"Actions": [ { "Name": "MyAlarm", "RunCondition": "Failed", "Type": "SnsAlarm", "AlarmName": "MyPipelineAlarm", "TopicArn": "arn:aws:sns:us-east-1:111122223333:my-topic" } ] The SNS topic can then be used to notify relevant parties via email, SMS etc. when the pipeline fails. Similarly, you can add another SnsAlarm action to notify on success and pass the success details.

profile picture
EXPERTE
beantwortet vor 3 Monaten
  • Thanks . How do I create sns alarm and hook it to pipeline . Do you know of example that you can point me to ? The way I have used sns topic in the past is with an event bridge rule .

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen