Class CfnSolution
- All Implemented Interfaces:
 IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::Personalize::Solution.
 An object that provides information about a solution. A solution is a trained model that can be deployed as a campaign.
Example:
 // 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;
 CfnSolution cfnSolution = CfnSolution.Builder.create(this, "MyCfnSolution")
         .datasetGroupArn("datasetGroupArn")
         .name("name")
         // the properties below are optional
         .eventType("eventType")
         .performAutoMl(false)
         .performHpo(false)
         .recipeArn("recipeArn")
         .solutionConfig(SolutionConfigProperty.builder()
                 .algorithmHyperParameters(Map.of(
                         "algorithmHyperParametersKey", "algorithmHyperParameters"))
                 .autoMlConfig(autoMlConfig)
                 .eventValueThreshold("eventValueThreshold")
                 .featureTransformationParameters(Map.of(
                         "featureTransformationParametersKey", "featureTransformationParameters"))
                 .hpoConfig(hpoConfig)
                 .build())
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static interfaceExample:static final classA fluent builder forCfnSolution.static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceDescribes the configuration properties for the solution.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnSolution(Construct scope, String id, CfnSolutionProps props) Create a newAWS::Personalize::Solution.protectedCfnSolution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSolution(software.amazon.jsii.JsiiObjectRef objRef)  - 
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the solution.The Amazon Resource Name (ARN) of the dataset group that provides the training data.The event type (for example, 'click' or 'like') that is used for training the model.getName()The name of the solution.Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The ARN of the recipe used to create the solution.Describes the configuration properties for the solution.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDatasetGroupArn(String value) The Amazon Resource Name (ARN) of the dataset group that provides the training data.voidsetEventType(String value) The event type (for example, 'click' or 'like') that is used for training the model.voidThe name of the solution.voidsetPerformAutoMl(Boolean value) voidsetPerformAutoMl(IResolvable value) voidsetPerformHpo(Boolean value) Whether to perform hyperparameter optimization (HPO) on the chosen recipe.voidsetPerformHpo(IResolvable value) Whether to perform hyperparameter optimization (HPO) on the chosen recipe.voidsetRecipeArn(String value) The ARN of the recipe used to create the solution.voidsetSolutionConfig(IResolvable value) Describes the configuration properties for the solution.voidDescribes the configuration properties for the solution.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Field Details
- 
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class. 
 - 
 - 
Constructor Details
- 
CfnSolution
protected CfnSolution(software.amazon.jsii.JsiiObjectRef objRef)  - 
CfnSolution
protected CfnSolution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  - 
CfnSolution
@Stability(Stable) public CfnSolution(@NotNull Construct scope, @NotNull String id, @NotNull CfnSolutionProps props) Create a newAWS::Personalize::Solution.- Parameters:
 scope-- scope in which this resource is defined.
 
id-- scoped id of the resource.
 
props-- resource properties.
 
 
 - 
 - 
Method Details
- 
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
 inspectin interfaceIInspectable- Parameters:
 inspector-- tree inspector to collect and process attributes.
 
 - 
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
 renderPropertiesin classCfnResource- Parameters:
 props- This parameter is required.
 - 
getAttrSolutionArn
The Amazon Resource Name (ARN) of the solution. - 
getCfnProperties
- Overrides:
 getCfnPropertiesin classCfnResource
 - 
getDatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data. - 
setDatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data. - 
getName
The name of the solution. - 
setName
The name of the solution. - 
getEventType
The event type (for example, 'click' or 'like') that is used for training the model.If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type. - 
setEventType
The event type (for example, 'click' or 'like') that is used for training the model.If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type. - 
getPerformAutoMl
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 (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training. - 
setPerformAutoMl
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 (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training. - 
setPerformAutoMl
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 (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training. - 
getPerformHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false. - 
setPerformHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false. - 
setPerformHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false. - 
getRecipeArn
The ARN of the recipe used to create the solution. - 
setRecipeArn
The ARN of the recipe used to create the solution. - 
getSolutionConfig
Describes the configuration properties for the solution. - 
setSolutionConfig
Describes the configuration properties for the solution. - 
setSolutionConfig
@Stability(Stable) public void setSolutionConfig(@Nullable CfnSolution.SolutionConfigProperty value) Describes the configuration properties for the solution. 
 -