Skip to content
v2.278.0

SolutionConfigProperty Struct ​

Describes the configuration properties for the solution.

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';

declare const autoMlConfig: any;
declare const hpoConfig: any;
const solutionConfigProperty: personalize.CfnSolution.SolutionConfigProperty = {
  algorithmHyperParameters: {
    algorithmHyperParametersKey: 'algorithmHyperParameters',
  },
  autoMlConfig: autoMlConfig,
  eventValueThreshold: 'eventValueThreshold',
  featureTransformationParameters: {
    featureTransformationParametersKey: 'featureTransformationParameters',
  },
  hpoConfig: hpoConfig,
};
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

# auto_ml_config: Any
# hpo_config: Any

solution_config_property = personalize.CfnSolution.SolutionConfigProperty(
    algorithm_hyper_parameters={
        "algorithm_hyper_parameters_key": "algorithmHyperParameters"
    },
    auto_ml_config=auto_ml_config,
    event_value_threshold="eventValueThreshold",
    feature_transformation_parameters={
        "feature_transformation_parameters_key": "featureTransformationParameters"
    },
    hpo_config=hpo_config
)
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.*;

Object autoMlConfig;
Object hpoConfig;

SolutionConfigProperty solutionConfigProperty = SolutionConfigProperty.builder()
        .algorithmHyperParameters(Map.of(
                "algorithmHyperParametersKey", "algorithmHyperParameters"))
        .autoMlConfig(autoMlConfig)
        .eventValueThreshold("eventValueThreshold")
        .featureTransformationParameters(Map.of(
                "featureTransformationParametersKey", "featureTransformationParameters"))
        .hpoConfig(hpoConfig)
        .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 autoMlConfig;
var hpoConfig;

var solutionConfigProperty = new SolutionConfigProperty {
    AlgorithmHyperParameters = new Dictionary<string, string> {
        { "algorithmHyperParametersKey", "algorithmHyperParameters" }
    },
    AutoMlConfig = autoMlConfig,
    EventValueThreshold = "eventValueThreshold",
    FeatureTransformationParameters = new Dictionary<string, string> {
        { "featureTransformationParametersKey", "featureTransformationParameters" }
    },
    HpoConfig = hpoConfig
};
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"

var autoMlConfig interface{}
var hpoConfig interface{}

solutionConfigProperty := &SolutionConfigProperty{
	AlgorithmHyperParameters: map[string]*string{
		"algorithmHyperParametersKey": jsii.String("algorithmHyperParameters"),
	},
	AutoMlConfig: autoMlConfig,
	EventValueThreshold: jsii.String("eventValueThreshold"),
	FeatureTransformationParameters: map[string]*string{
		"featureTransformationParametersKey": jsii.String("featureTransformationParameters"),
	},
	HpoConfig: hpoConfig,
}

Properties ​

algorithmHyperParametersoptionalIResolvable | { [key: string]: string }algorithm_hyper_parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]algorithmHyperParametersoptionalIResolvableAlgorithmHyperParametersoptionalIResolvableAlgorithmHyperParametersoptionalinterface{} #
Lists the algorithm hyperparameters and their values.
autoMlConfigoptionalanyauto_ml_configoptionalAnyautoMlConfigoptionalObjectAutoMlConfigoptionalobjectAutoMlConfigoptionalinterface{} #
The AutoMLConfig object containing a list of recipes to search when AutoML is performed.
eventValueThresholdoptionalstringevent_value_thresholdoptionalstreventValueThresholdoptionalStringEventValueThresholdoptionalstringEventValueThresholdoptional*string #
Only events with a value greater than or equal to this threshold are used for training a model.
featureTransformationParametersoptionalIResolvable | { [key: string]: string }feature_transformation_parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]featureTransformationParametersoptionalIResolvableFeatureTransformationParametersoptionalIResolvableFeatureTransformationParametersoptionalinterface{} #
Lists the feature transformation parameters.
hpoConfigoptionalanyhpo_configoptionalAnyhpoConfigoptionalObjectHpoConfigoptionalobjectHpoConfigoptionalinterface{} #
Describes the properties for hyperparameter optimization (HPO).