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 Answer
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
answered 3 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions