> **Experimental**
>
> `@aws-cdk/aws-pipes-targets-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# SageMakerTargetParameters

SageMaker target properties.

Used as props by: [SageMakerTarget](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-pipes-targets-alpha.SageMakerTarget.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/sagemaker.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-pipes-targets-alpha/lib/sagemaker.ts#L8)

## Example

TypeScript:

```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,
});
```

Python:

```python
# 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
)
```

Java:

```java
Queue sourceQueue;
IPipeline targetPipeline;

SageMakerTarget pipelineTarget = SageMakerTarget.Builder.create(targetPipeline)
        .inputTransformation(InputTransformation.fromObject(Map.of("body", "👀")))
        .build();

Pipe pipe = Pipe.Builder.create(this, "Pipe")
        .source(new SqsSource(sourceQueue))
        .target(pipelineTarget)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Targets.Alpha
Queue sourceQueue;
IPipeline targetPipeline;

var pipelineTarget = new SageMakerTarget(targetPipeline, new SageMakerTargetParameters {
    InputTransformation = InputTransformation.FromObject(new Dictionary<string, object> { { "body", "👀" } })
});

var pipe = new Pipe(this, "Pipe", new PipeProps {
    Source = new SqsSource(sourceQueue),
    Target = pipelineTarget
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipestargetsalpha/v2
var sourceQueue Queue
var targetPipeline IPipeline

pipelineTarget := targets.NewSageMakerTarget(targetPipeline, &SageMakerTargetParameters{
	InputTransformation: pipes.InputTransformation_FromObject(map[string]interface{}{
		"body": jsii.String("👀"),
	}),
})

pipe := pipes.NewPipe(this, jsii.String("Pipe"), &PipeProps{
	Source: awscdkpipessourcesalpha.NewSqsSource(sourceQueue),
	Target: pipelineTarget,
})
```

## Properties

- `inputTransformation`: [IInputTransformation](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-pipes-alpha.IInputTransformation.html) = none — The input transformation to apply to the message before sending it to the target.

- `pipelineParameters`: { [key: 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.
