# CampaignConfigProperty

The configuration details of a campaign.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```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 campaignConfigProperty: personalize.CfnCampaign.CampaignConfigProperty = {
  enableMetadataWithRecommendations: false,
  itemExplorationConfig: {
    itemExplorationConfigKey: 'itemExplorationConfig',
  },
  rankingInfluence: {
    rankingInfluenceKey: 123,
  },
  syncWithLatestSolutionVersion: false,
};
```

## Properties

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

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

- `rankingInfluence`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: number } — A map of ranking influence values for POPULARITY and FRESHNESS.

- `syncWithLatestSolutionVersion`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether the campaign automatically updates to use the latest solution version.
