How to trigger a sagemaker pipeline via event?

0

I have a sagemaker pipeline and i want to trigger it on a cron schedule. are there any examples of such construct in cloudformation?

1 Antwort
0

Hi,

To achieve what you want via CloudFormation you need to compose:

  1. the CFN Sagemaker pipeline definition that you already have
  2. A CFN definition of a scheduled Pipeline via EventBridge: https://docs.aws.amazon.com/sagemaker/latest/dg/pipeline-eventbridge.html#pipeline-eventbridge-schedule

CFN samples for schedulers via EventBridge are there: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scheduler-schedule.html

Best,

Didier

profile pictureAWS
EXPERTE
beantwortet vor 4 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

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