interface CfnSolutionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Personalize.Mixins.CfnSolutionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspersonalize/mixins#CfnSolutionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.personalize.mixins.CfnSolutionMixinProps |
Python | aws_cdk.mixins_preview.aws_personalize.mixins.CfnSolutionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_personalize » mixins » CfnSolutionMixinProps |
Properties for CfnSolutionPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as personalize_mixins } from '@aws-cdk/mixins-preview/aws-personalize';
declare const autoMlConfig: any;
declare const hpoConfig: any;
const cfnSolutionMixinProps: personalize_mixins.CfnSolutionMixinProps = {
datasetGroupArn: 'datasetGroupArn',
eventType: 'eventType',
name: 'name',
performAutoMl: false,
performHpo: false,
recipeArn: 'recipeArn',
solutionConfig: {
algorithmHyperParameters: {
algorithmHyperParametersKey: 'algorithmHyperParameters',
},
autoMlConfig: autoMlConfig,
eventValueThreshold: 'eventValueThreshold',
featureTransformationParameters: {
featureTransformationParametersKey: 'featureTransformationParameters',
},
hpoConfig: hpoConfig,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| dataset | string | The Amazon Resource Name (ARN) of the dataset group that provides the training data. |
| event | string | The event type (for example, 'click' or 'like') that is used for training the model. |
| name? | string | The name of the solution. |
| perform | boolean | IResolvable | > We don't recommend enabling automated machine learning. |
| perform | boolean | IResolvable | Whether to perform hyperparameter optimization (HPO) on the chosen recipe. |
| recipe | string | The ARN of the recipe used to create the solution. |
| solution | IResolvable | Solution | Describes the configuration properties for the solution. |
datasetGroupArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
eventType?
Type:
string
(optional)
The event type (for example, 'click' or 'like') that is used for training the model.
If no eventType is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
name?
Type:
string
(optional)
The name of the solution.
performAutoMl?
Type:
boolean | IResolvable
(optional)
We don't recommend enabling automated machine learning.
Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration ( recipeArn must not be specified). When false (the default), Amazon Personalize uses recipeArn for training.
performHpo?
Type:
boolean | IResolvable
(optional)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
The default is false .
recipeArn?
Type:
string
(optional)
The ARN of the recipe used to create the solution.
This is required when performAutoML is false.
solutionConfig?
Type:
IResolvable | Solution
(optional)
Describes the configuration properties for the solution.

.NET
Go
Java
Python
TypeScript