class SageMakerStartPipelineExecution
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Scheduler.Targets.Alpha.SageMakerStartPipelineExecution |
![]() | github.com/aws/aws-cdk-go/awscdkschedulertargetsalpha/v2#SageMakerStartPipelineExecution |
![]() | software.amazon.awscdk.services.scheduler.targets.alpha.SageMakerStartPipelineExecution |
![]() | aws_cdk.aws_scheduler_targets_alpha.SageMakerStartPipelineExecution |
![]() | @aws-cdk/aws-scheduler-targets-alpha ยป 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
Sage
Maker 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