# CfnCampaignProps

Properties for defining a `CfnCampaign`.

Extends: CfnCampaignProps
Used as props by: CfnCampaign

- 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 cfnCampaignProps: personalize.CfnCampaignProps = {
  name: 'name',
  solutionVersionArn: 'solutionVersionArn',

  // the properties below are optional
  campaignConfig: {
    enableMetadataWithRecommendations: false,
    itemExplorationConfig: {
      itemExplorationConfigKey: 'itemExplorationConfig',
    },
    rankingInfluence: {
      rankingInfluenceKey: 123,
    },
    syncWithLatestSolutionVersion: false,
  },
  minProvisionedTps: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `campaignConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCampaign.CampaignConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_personalize.CfnCampaign.CampaignConfigProperty.html) — The configuration details of a campaign.

- `minProvisionedTps`: number — Specifies the requested minimum provisioned transactions per second.

- `name`: string (required) — The name of the campaign.

- `solutionVersionArn`: string (required) — The ARN of the solution version to deploy.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to associate with the campaign.
