class SageMakerStartPipelineExecution
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Scheduler.Targets.SageMakerStartPipelineExecution |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsschedulertargets#SageMakerStartPipelineExecution |
Java | software.amazon.awscdk.services.scheduler.targets.SageMakerStartPipelineExecution |
Python | aws_cdk.aws_scheduler_targets.SageMakerStartPipelineExecution |
TypeScript (source) | aws-cdk-lib » aws_scheduler_targets » SageMakerStartPipelineExecution |
Implements
ISchedule
Extends
Schedule
Use a SageMaker pipeline as a target for AWS EventBridge Scheduler.
Example
import * as sagemaker from 'aws-cdk-lib/aws-sagemaker';
declare const pipeline: sagemaker.IPipeline;
new Schedule(this, 'Schedule', {
schedule: ScheduleExpression.rate(Duration.minutes(60)),
target: new targets.SageMakerStartPipelineExecution(pipeline, {
pipelineParameterList: [{
name: 'parameter-name',
value: 'parameter-value',
}],
}),
});
Initializer
new SageMakerStartPipelineExecution(pipeline: IPipeline, props?: SageMakerStartPipelineExecutionProps)
Parameters
- pipeline
IPipeline - props
SageMaker Start Pipeline Execution Props
Methods
| Name | Description |
|---|---|
| bind(schedule) | Create a return a Schedule Target Configuration for the given schedule. |
| protected add | |
| protected bind |
bind(schedule)
public bind(schedule: ISchedule): ScheduleTargetConfig
Parameters
- schedule
ISchedule
Returns
Create a return a Schedule Target Configuration for the given schedule.
protected addTargetActionToRole(role)
protected addTargetActionToRole(role: IRole): void
Parameters
- role
IRole
protected bindBaseTargetConfig(schedule)
protected bindBaseTargetConfig(schedule: ISchedule): ScheduleTargetConfig
Parameters
- schedule
ISchedule
Returns

.NET
Go
Java
Python
TypeScript (