Skip to content
v2.276.0

ParameterRangeProperty Struct ​

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

categoricalParameterRangeSpecificationoptionalIResolvable | CfnAlgorithm.CategoricalParameterRangeSpecificationPropertycategorical_parameter_range_specificationoptionaltyping.Union[IResolvable, CategoricalParameterRangeSpecificationProperty]categoricalParameterRangeSpecificationoptionalIResolvableCategoricalParameterRangeSpecificationoptionalIResolvableCategoricalParameterRangeSpecificationoptionalinterface{}#
continuousParameterRangeSpecificationoptionalIResolvable | CfnAlgorithm.ContinuousParameterRangeSpecificationPropertycontinuous_parameter_range_specificationoptionaltyping.Union[IResolvable, ContinuousParameterRangeSpecificationProperty]continuousParameterRangeSpecificationoptionalIResolvableContinuousParameterRangeSpecificationoptionalIResolvableContinuousParameterRangeSpecificationoptionalinterface{}#
integerParameterRangeSpecificationoptionalIResolvable | CfnAlgorithm.IntegerParameterRangeSpecificationPropertyinteger_parameter_range_specificationoptionaltyping.Union[IResolvable, IntegerParameterRangeSpecificationProperty]integerParameterRangeSpecificationoptionalIResolvableIntegerParameterRangeSpecificationoptionalIResolvableIntegerParameterRangeSpecificationoptionalinterface{}#