- Newest
- Most votes
- Most comments
Yes, it is possible to hook up a SageMaker pipeline code that is currently run through a notebook to an EventBridge and trigger an execution. To do this, you will need the following permissions:
- Amazon EventBridge Full Access
- Amazon SageMaker Pipelines Full Access
Once you have these permissions, you can create an EventBridge rule that triggers a SageMaker pipeline execution. The event that you use to trigger the execution can be any event that is supported by EventBridge. For example, you could use an S3 bucket event, a CloudWatch metric alarm, or a DynamoDB table change event.
To create an EventBridge rule that triggers a SageMaker pipeline execution, follow these steps:
- Go to the EventBridge console.
- In the Rules list, click Create Rule.
- In the Create Rule wizard, on the Step 1: Define the rule page, do the following:
- For Rule name, enter a name for your rule.
- For Event pattern, select the event that you want to use to trigger the execution.
- For Target, select SageMaker Pipelines.
- For Pipeline name, select the name of the pipeline that you want to execute.
- For Parameters, specify any parameters that you want to pass to the pipeline.
- Click Next.
- On the Step 2: Configure details page, do the following:
- For State, select Enabled.
- For Description, enter a description for your rule.
- For Tags, add any tags that you want to associate with your rule.
- Click Create.
Once you have created the rule, the next time an event that matches the event pattern occurs, the pipeline will be executed.
Once you have the pipeline built you can trigger the pipeline using Amazon EventBridge integration which supports both event based or schedule based events. Check the below link to setup using event bridge https://docs.aws.amazon.com/sagemaker/latest/dg/pipeline-eventbridge.html
Relevant content
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago