Skip to content
v2.274.0

CfnSolutionPropsMixin 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.

Initializer ​

ts
new CfnSolutionPropsMixin(props: CfnSolutionMixinProps, options?: CfnPropertyMixinOptions)
python
CfnSolutionPropsMixin(props: CfnSolutionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnSolutionPropsMixin(CfnSolutionMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnSolutionPropsMixin(CfnSolutionMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnSolutionPropsMixin(Props CfnSolutionMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.