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 réponse
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
EXPERT
répondu il y a 4 mois
profile picture
EXPERT
vérifié il y a un mois

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