# HyperParameterTuningJobObjectiveProperty

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const hyperParameterTuningJobObjectiveProperty: sagemaker.CfnAlgorithm.HyperParameterTuningJobObjectiveProperty = {
  metricName: 'metricName',
  type: 'type',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

hyper_parameter_tuning_job_objective_property = sagemaker.CfnAlgorithm.HyperParameterTuningJobObjectiveProperty(
    metric_name="metricName",
    type="type"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

HyperParameterTuningJobObjectiveProperty hyperParameterTuningJobObjectiveProperty = HyperParameterTuningJobObjectiveProperty.builder()
        .metricName("metricName")
        .type("type")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var hyperParameterTuningJobObjectiveProperty = new HyperParameterTuningJobObjectiveProperty {
    MetricName = "metricName",
    Type = "type"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hyperParameterTuningJobObjectiveProperty := &HyperParameterTuningJobObjectiveProperty{
	MetricName: jsii.String("metricName"),
	Type: jsii.String("type"),
}
```

## Properties

- `metricName`: string (required)

- `type`: string (required)
