# HyperParameterSpecificationProperty

- Source: Generated code
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

```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 hyperParameterSpecificationProperty: sagemaker.CfnAlgorithm.HyperParameterSpecificationProperty = {
  name: 'name',
  type: 'type',

  // the properties below are optional
  defaultValue: 'defaultValue',
  description: 'description',
  isRequired: false,
  isTunable: false,
  range: {
    categoricalParameterRangeSpecification: {
      values: ['values'],
    },
    continuousParameterRangeSpecification: {
      maxValue: 'maxValue',
      minValue: 'minValue',
    },
    integerParameterRangeSpecification: {
      maxValue: 'maxValue',
      minValue: 'minValue',
    },
  },
};
```

## Properties

- `defaultValue`: string

- `description`: string

- `isRequired`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `isTunable`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `name`: string (required)

- `range`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAlgorithm.ParameterRangeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnAlgorithm.ParameterRangeProperty.html)

- `type`: string (required)
