Skip to content
v2.278.0

HpoResourceConfigProperty ​

Struct External

Describes the resource configuration for hyperparameter optimization (HPO).

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
const hpoResourceConfigProperty: personalize.CfnSolution.HpoResourceConfigProperty = {
  maxNumberOfTrainingJobs: 'maxNumberOfTrainingJobs',
  maxParallelTrainingJobs: 'maxParallelTrainingJobs',
};
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_personalize as personalize

hpo_resource_config_property = personalize.CfnSolution.HpoResourceConfigProperty(
    max_number_of_training_jobs="maxNumberOfTrainingJobs",
    max_parallel_training_jobs="maxParallelTrainingJobs"
)
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.personalize.*;

HpoResourceConfigProperty hpoResourceConfigProperty = HpoResourceConfigProperty.builder()
        .maxNumberOfTrainingJobs("maxNumberOfTrainingJobs")
        .maxParallelTrainingJobs("maxParallelTrainingJobs")
        .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.Personalize;

var hpoResourceConfigProperty = new HpoResourceConfigProperty {
    MaxNumberOfTrainingJobs = "maxNumberOfTrainingJobs",
    MaxParallelTrainingJobs = "maxParallelTrainingJobs"
};
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"

hpoResourceConfigProperty := &HpoResourceConfigProperty{
	MaxNumberOfTrainingJobs: jsii.String("maxNumberOfTrainingJobs"),
	MaxParallelTrainingJobs: jsii.String("maxParallelTrainingJobs"),
}

Properties ​

maxNumberOfTrainingJobsoptionalstringmax_number_of_training_jobsoptionalstrmaxNumberOfTrainingJobsoptionalStringMaxNumberOfTrainingJobsoptionalstringMaxNumberOfTrainingJobsoptional*string #
The maximum number of training jobs when you create a solution version.

The maximum value for maxNumberOfTrainingJobs is 40 .

maxParallelTrainingJobsoptionalstringmax_parallel_training_jobsoptionalstrmaxParallelTrainingJobsoptionalStringMaxParallelTrainingJobsoptionalstringMaxParallelTrainingJobsoptional*string #
The maximum number of parallel training jobs when you create a solution version.

The maximum value for maxParallelTrainingJobs is 10 .