@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:28:59.587Z")
public interface CfnSolutionProps
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; CfnSolutionProps cfnSolutionProps = CfnSolutionProps.builder() .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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnSolutionProps.Builder
A builder for
CfnSolutionProps |
static class |
CfnSolutionProps.Jsii$Proxy
An implementation for
CfnSolutionProps |
Modifier and Type | Method and Description |
---|---|
static CfnSolutionProps.Builder |
builder() |
java.lang.String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
default java.lang.String |
getEventType()
The event type (for example, 'click' or 'like') that is used for training the model.
|
java.lang.String |
getName()
The name of the solution.
|
default java.lang.Object |
getPerformAutoMl()
> We don't recommend enabling automated machine learning.
|
default java.lang.Object |
getPerformHpo()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
default java.lang.String |
getRecipeArn()
The ARN of the recipe used to create the solution.
|
default java.lang.Object |
getSolutionConfig()
Describes the configuration properties for the solution.
|
java.lang.String getDatasetGroupArn()
java.lang.String getName()
default java.lang.String getEventType()
If no eventType
is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
default java.lang.Object getPerformAutoMl()
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.
default java.lang.Object getPerformHpo()
The default is false
.
default java.lang.String getRecipeArn()
default java.lang.Object getSolutionConfig()
static CfnSolutionProps.Builder builder()
CfnSolutionProps.Builder
of CfnSolutionProps