Skip to content
v2.274.0

Experimental

@aws-cdk/aws-pipes-targets-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

SageMakerTargetParameters Struct ​

SageMaker target properties.

Example ​

ts
declare const sourceQueue: sqs.Queue;
declare const targetPipeline: sagemaker.IPipeline;

const pipelineTarget = new targets.SageMakerTarget(targetPipeline, {
  inputTransformation: pipes.InputTransformation.fromObject({ body: "👀" }),
});

const pipe = new pipes.Pipe(this, 'Pipe', {
    source: new SqsSource(sourceQueue),
    target: pipelineTarget,
});

Properties ​

inputTransformationoptionalIInputTransformationinput_transformationoptionalIInputTransformationinputTransformationoptionalIInputTransformationInputTransformationoptionalIInputTransformationInputTransformationoptionalIInputTransformation= none#
The input transformation to apply to the message before sending it to the target.
pipelineParametersoptional{ [key: string]: string }pipeline_parametersoptionaltyping.Mapping[str, str]pipelineParametersoptionalMap<String, String>PipelineParametersoptionalIDictionary<string, string>PipelineParametersoptional*map[string]*string= none#
List of parameter names and values for SageMaker Model Building Pipeline execution.

The Name/Value pairs are passed to start execution of the pipeline.