AWS::Personalize::Solution> By default, all new solutions use automatic training. With automatic training, you incur training costs while your solution is active. To avoid unnecessary costs, when you are finished you can [update the solution](https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateSolution.html) to turn off automatic training. For information about training costs, see [Amazon Personalize pricing](https://docs.aws.amazon.com/https://aws.amazon.com/personalize/pricing/) . An object that provides information about a solution. A solution includes the custom recipe, customized parameters, and trained models (Solution Versions) that Amazon Personalize uses to generate recommendations. After you create a solution, you can’t change its configuration. If you need to make changes, you can [clone the solution](https://docs.aws.amazon.com/personalize/latest/dg/cloning-solution.html) with the Amazon Personalize console or create a new one.
import { CfnSolution } from 'aws-cdk-lib/aws-personalize';Or use the module namespace:
import * as personalize from 'aws-cdk-lib/aws-personalize';
// personalize.CfnSolutionConfiguration passed to the constructor as CfnSolutionProps.
datasetGroupArnRequiredstringThe Amazon Resource Name (ARN) of the dataset group that provides the training data.
nameRequiredstringThe name of the solution.
eventTypeOptionalstringThe 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.
performAutoMlOptionalboolean | IResolvable> 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.](https://docs.aws.amazon.com/personalize/latest/dg/determining-use-case.html) 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.
performHpoOptionalboolean | IResolvableWhether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is `false` .
recipeArnOptionalstringThe ARN of the recipe used to create the solution. This is required when `performAutoML` is false.
solutionConfigOptionalIResolvable | SolutionConfigPropertyDescribes the configuration properties for the solution.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-personalizeAWS::Personalize::Solution