SageMakerStartPipelineExecutionProps Struct
Properties for a SageMaker Target.
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',
}],
}),
});
Properties
deadLetterQueueoptionalIQueuedead_letter_queueoptionalIQueuedeadLetterQueueoptionalIQueueDeadLetterQueueoptionalIQueueDeadLetterQueueoptionalIQueue#Default: no dead-letter queue
notes
The events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.
inputoptionalScheduleTargetInputinputoptionalScheduleTargetInputinputoptionalScheduleTargetInputInputoptionalScheduleTargetInputInputoptionalScheduleTargetInput#Default: no input.
maxEventAgeoptionalDurationmax_event_ageoptionalDurationmaxEventAgeoptionalDurationMaxEventAgeoptionalDurationMaxEventAgeoptionalDuration= Duration.hours(24)#Minimum value of 60. Maximum value of 86400.
pipelineParameterListoptionalSageMakerPipelineParameter[]pipeline_parameter_listoptionaltyping.List[SageMakerPipelineParameter]pipelineParameterListoptionalList<SageMakerPipelineParameter>PipelineParameterListoptionalSageMakerPipelineParameter[]PipelineParameterListoptional*[]SageMakerPipelineParameter#Default: no pipeline parameter list
The length must be between 0 and 200.
retryAttemptsoptionalnumberretry_attemptsoptionalint | floatretryAttemptsoptionalNumberRetryAttemptsoptionaldoubleRetryAttemptsoptional*float64= 185#Minimum value of 0. Maximum value of 185.
Default: created by target
notes
If none provided templates target will automatically create an IAM role with all the minimum necessary permissions to interact with the templated target. If you wish you may specify your own IAM role, then the templated targets will grant minimal required permissions.