SageMakerTargetParameters

class aws_cdk.aws_pipes_targets_alpha.SageMakerTargetParameters(*, input_transformation=None, pipeline_parameters=None)

Bases: object

(experimental) SageMaker target properties.

Parameters:
  • input_transformation (Optional[IInputTransformation]) – (experimental) The input transformation to apply to the message before sending it to the target. Default: - none

  • pipeline_parameters (Optional[Mapping[str, str]]) – (experimental) List of parameter names and values for SageMaker Model Building Pipeline execution. The Name/Value pairs are passed to start execution of the pipeline. Default: - none

Stability:

experimental

ExampleMetadata:

infused

Example:

# source_queue: sqs.Queue
# target_pipeline: sagemaker.IPipeline


pipeline_target = targets.SageMakerTarget(target_pipeline,
    input_transformation=pipes.InputTransformation.from_object({"body": "👀"})
)

pipe = pipes.Pipe(self, "Pipe",
    source=SqsSource(source_queue),
    target=pipeline_target
)

Attributes

input_transformation

(experimental) The input transformation to apply to the message before sending it to the target.

Default:
  • none

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetparameters.html#cfn-pipes-pipe-pipetargetparameters-inputtemplate

Stability:

experimental

pipeline_parameters

(experimental) List of parameter names and values for SageMaker Model Building Pipeline execution.

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

Default:
  • none

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetsagemakerpipelineparameters.html#cfn-pipes-pipe-pipetargetsagemakerpipelineparameters-pipelineparameterlist

Stability:

experimental