class CfnSolutionPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Personalize.Mixins.CfnSolutionPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspersonalize/mixins#CfnSolutionPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.personalize.mixins.CfnSolutionPropsMixin |
Python | aws_cdk.mixins_preview.aws_personalize.mixins.CfnSolutionPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_personalize » mixins » CfnSolutionPropsMixin |
Implements
IMixin
Extends
Mixin
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 to turn off automatic training. For information about training costs, see Amazon 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 with the Amazon Personalize console or create a new one.
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 } from '@aws-cdk/mixins-preview';
import { mixins as personalize_mixins } from '@aws-cdk/mixins-preview/aws-personalize';
declare const autoMlConfig: any;
declare const hpoConfig: any;
const cfnSolutionPropsMixin = new personalize_mixins.CfnSolutionPropsMixin({
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,
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnSolutionPropsMixin(props: CfnSolutionMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Solution Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Personalize::Solution.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript