Class SageMakerStartPipelineExecution
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.scheduler.targets.alpha.ScheduleTargetBase
software.amazon.awscdk.services.scheduler.targets.alpha.SageMakerStartPipelineExecution
- All Implemented Interfaces:
IScheduleTarget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.991Z")
@Stability(Experimental)
public class SageMakerStartPipelineExecution
extends ScheduleTargetBase
implements IScheduleTarget
(experimental) Use a SageMaker pipeline as a target for AWS EventBridge Scheduler.
Example:
import software.amazon.awscdk.services.sagemaker.*; IPipeline pipeline; Schedule.Builder.create(this, "Schedule") .schedule(ScheduleExpression.rate(Duration.minutes(60))) .target(SageMakerStartPipelineExecution.Builder.create(pipeline) .pipelineParameterList(List.of(SageMakerPipelineParameter.builder() .name("parameter-name") .value("parameter-value") .build())) .build()) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forSageMakerStartPipelineExecution
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.scheduler.alpha.IScheduleTarget
IScheduleTarget.Jsii$Default, IScheduleTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionSageMakerStartPipelineExecution
(IPipeline pipeline) SageMakerStartPipelineExecution
(IPipeline pipeline, SageMakerStartPipelineExecutionProps props) protected
SageMakerStartPipelineExecution
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SageMakerStartPipelineExecution
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTargetActionToRole
(IRole role) protected ScheduleTargetConfig
bindBaseTargetConfig
(ISchedule schedule) Methods inherited from class software.amazon.awscdk.services.scheduler.targets.alpha.ScheduleTargetBase
bind, getTargetArn
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.services.scheduler.alpha.IScheduleTarget
bind
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SageMakerStartPipelineExecution
protected SageMakerStartPipelineExecution(software.amazon.jsii.JsiiObjectRef objRef) -
SageMakerStartPipelineExecution
protected SageMakerStartPipelineExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SageMakerStartPipelineExecution
@Stability(Experimental) public SageMakerStartPipelineExecution(@NotNull IPipeline pipeline, @Nullable SageMakerStartPipelineExecutionProps props) - Parameters:
pipeline
- This parameter is required.props
-
-
SageMakerStartPipelineExecution
- Parameters:
pipeline
- This parameter is required.
-
-
Method Details
-
addTargetActionToRole
- Specified by:
addTargetActionToRole
in classScheduleTargetBase
- Parameters:
role
- This parameter is required.
-
bindBaseTargetConfig
@Stability(Experimental) @NotNull protected ScheduleTargetConfig bindBaseTargetConfig(@NotNull ISchedule schedule) - Overrides:
bindBaseTargetConfig
in classScheduleTargetBase
- Parameters:
schedule
- This parameter is required.
-