# ParameterRangeProperty

- 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 parameterRangeProperty: sagemaker.CfnAlgorithm.ParameterRangeProperty = {
  categoricalParameterRangeSpecification: {
    values: ['values'],
  },
  continuousParameterRangeSpecification: {
    maxValue: 'maxValue',
    minValue: 'minValue',
  },
  integerParameterRangeSpecification: {
    maxValue: 'maxValue',
    minValue: 'minValue',
  },
};
```

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

parameter_range_property = sagemaker.CfnAlgorithm.ParameterRangeProperty(
    categorical_parameter_range_specification=sagemaker.CfnAlgorithm.CategoricalParameterRangeSpecificationProperty(
        values=["values"]
    ),
    continuous_parameter_range_specification=sagemaker.CfnAlgorithm.ContinuousParameterRangeSpecificationProperty(
        max_value="maxValue",
        min_value="minValue"
    ),
    integer_parameter_range_specification=sagemaker.CfnAlgorithm.IntegerParameterRangeSpecificationProperty(
        max_value="maxValue",
        min_value="minValue"
    )
)
```

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.*;

ParameterRangeProperty parameterRangeProperty = ParameterRangeProperty.builder()
        .categoricalParameterRangeSpecification(CategoricalParameterRangeSpecificationProperty.builder()
                .values(List.of("values"))
                .build())
        .continuousParameterRangeSpecification(ContinuousParameterRangeSpecificationProperty.builder()
                .maxValue("maxValue")
                .minValue("minValue")
                .build())
        .integerParameterRangeSpecification(IntegerParameterRangeSpecificationProperty.builder()
                .maxValue("maxValue")
                .minValue("minValue")
                .build())
        .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 parameterRangeProperty = new ParameterRangeProperty {
    CategoricalParameterRangeSpecification = new CategoricalParameterRangeSpecificationProperty {
        Values = new [] { "values" }
    },
    ContinuousParameterRangeSpecification = new ContinuousParameterRangeSpecificationProperty {
        MaxValue = "maxValue",
        MinValue = "minValue"
    },
    IntegerParameterRangeSpecification = new IntegerParameterRangeSpecificationProperty {
        MaxValue = "maxValue",
        MinValue = "minValue"
    }
};
```

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"

parameterRangeProperty := &ParameterRangeProperty{
	CategoricalParameterRangeSpecification: &CategoricalParameterRangeSpecificationProperty{
		Values: []*string{
			jsii.String("values"),
		},
	},
	ContinuousParameterRangeSpecification: &ContinuousParameterRangeSpecificationProperty{
		MaxValue: jsii.String("maxValue"),
		MinValue: jsii.String("minValue"),
	},
	IntegerParameterRangeSpecification: &IntegerParameterRangeSpecificationProperty{
		MaxValue: jsii.String("maxValue"),
		MinValue: jsii.String("minValue"),
	},
}
```

## Properties

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

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

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