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?

已提问 4 个月前189 查看次数
1 回答
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
专家
已回答 4 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则