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: - nonepipeline_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.
- 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.