[英]How do you make one AWS sagemaker pipeline trigger another one?
You can use any EventbridgeEvent to trigger a pipeline step.您可以使用任何EventbridgeEvent来触发管道步骤。 Since Eventbridge supports Sagemaker Pipeline Status Change as an event, you should be able to trigger a pipeline by another one.由于 Eventbridge 支持将 Sagemaker 管道状态更改作为事件,您应该能够通过另一个管道触发管道。
Yes, use a Cloudwatch Event Rule (or EventBridge), such as是的,使用 Cloudwatch 事件规则(或 EventBridge),例如
{
"source": [
"aws.sagemaker"
],
"detail-type": [
"SageMaker Model Building Pipeline Execution Status Change"
],
"detail": {
"currentPipelineExecutionStatus": [
"Succeeded"
]
}
}
Then call the next pipeline using either a Lambda target or perhaps a CodeBuild target, depending on how you want to launch your pipeline然后使用 Lambda 目标或 CodeBuild 目标调用下一个管道,具体取决于您希望如何启动管道
Yes, use an Amazon EventBridge event, such as是,使用 Amazon EventBridge 事件,例如
{
"source": ["aws.sagemaker"],
"detail-type": ["SageMaker Model Building Pipeline Execution Status Change"],
"detail": {
"currentPipelineExecutionStatus": ["Succeeded"],
"previousPipelineExecutionStatus": ["Executing"],
"pipelineArn": ["your-pipelineArn"]
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.