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 Risposta
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
ESPERTO
con risposta 4 mesi fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande