# RecommenderConfigProperty

The configuration details of the recommender.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
const recommenderConfigProperty: personalize.CfnRecommender.RecommenderConfigProperty = {
  enableMetadataWithRecommendations: false,
  itemExplorationConfig: {
    itemExplorationConfigKey: 'itemExplorationConfig',
  },
  minRecommendationRequestsPerSecond: 123,
  trainingDataConfig: {
    excludedDatasetColumns: {
      excludedDatasetColumnsKey: ['excludedDatasetColumns'],
    },
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_personalize as personalize

recommender_config_property = personalize.CfnRecommender.RecommenderConfigProperty(
    enable_metadata_with_recommendations=False,
    item_exploration_config={
        "item_exploration_config_key": "itemExplorationConfig"
    },
    min_recommendation_requests_per_second=123,
    training_data_config=personalize.CfnRecommender.TrainingDataConfigProperty(
        excluded_dataset_columns={
            "excluded_dataset_columns_key": ["excludedDatasetColumns"]
        }
    )
)
```

Java:

```java
// 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.*;

RecommenderConfigProperty recommenderConfigProperty = RecommenderConfigProperty.builder()
        .enableMetadataWithRecommendations(false)
        .itemExplorationConfig(Map.of(
                "itemExplorationConfigKey", "itemExplorationConfig"))
        .minRecommendationRequestsPerSecond(123)
        .trainingDataConfig(TrainingDataConfigProperty.builder()
                .excludedDatasetColumns(Map.of(
                        "excludedDatasetColumnsKey", List.of("excludedDatasetColumns")))
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Personalize;

var recommenderConfigProperty = new RecommenderConfigProperty {
    EnableMetadataWithRecommendations = false,
    ItemExplorationConfig = new Dictionary<string, string> {
        { "itemExplorationConfigKey", "itemExplorationConfig" }
    },
    MinRecommendationRequestsPerSecond = 123,
    TrainingDataConfig = new TrainingDataConfigProperty {
        ExcludedDatasetColumns = new Dictionary<string, string[]> {
            { "excludedDatasetColumnsKey", new [] { "excludedDatasetColumns" } }
        }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

recommenderConfigProperty := &RecommenderConfigProperty{
	EnableMetadataWithRecommendations: jsii.Boolean(false),
	ItemExplorationConfig: map[string]*string{
		"itemExplorationConfigKey": jsii.String("itemExplorationConfig"),
	},
	MinRecommendationRequestsPerSecond: jsii.Number(123),
	TrainingDataConfig: &TrainingDataConfigProperty{
		ExcludedDatasetColumns: map[string][]*string{
			"excludedDatasetColumnsKey": []*string{
				jsii.String("excludedDatasetColumns"),
			},
		},
	},
}
```

## Properties

- `enableMetadataWithRecommendations`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether metadata with recommendations is enabled for the recommender.

- `itemExplorationConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Specifies the exploration configuration hyperparameters.

- `minRecommendationRequestsPerSecond`: number — Specifies the requested minimum provisioned recommendation requests per second.

- `trainingDataConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRecommender.TrainingDataConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_personalize.CfnRecommender.TrainingDataConfigProperty.html) — The training data configuration to use when creating a domain recommender.
