Skip to content
v2.275.0

CampaignConfigProperty Struct ​

The configuration details of a campaign.

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 ​

enableMetadataWithRecommendationsoptionalboolean | IResolvableenable_metadata_with_recommendationsoptionaltyping.Union[bool, IResolvable]enableMetadataWithRecommendationsoptionalBooleanEnableMetadataWithRecommendationsoptionalboolEnableMetadataWithRecommendationsoptionalinterface{}#
Whether metadata with recommendations is enabled for the campaign.
itemExplorationConfigoptionalIResolvable | { [key: string]: string }item_exploration_configoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]itemExplorationConfigoptionalIResolvableItemExplorationConfigoptionalIResolvableItemExplorationConfigoptionalinterface{}#
Specifies the exploration configuration hyperparameters.
rankingInfluenceoptionalIResolvable | { [key: string]: number }ranking_influenceoptionaltyping.Union[IResolvable, typing.Mapping[str, int | float]]rankingInfluenceoptionalIResolvableRankingInfluenceoptionalIResolvableRankingInfluenceoptionalinterface{}#
A map of ranking influence values for POPULARITY and FRESHNESS.
syncWithLatestSolutionVersionoptionalboolean | IResolvablesync_with_latest_solution_versionoptionaltyping.Union[bool, IResolvable]syncWithLatestSolutionVersionoptionalBooleanSyncWithLatestSolutionVersionoptionalboolSyncWithLatestSolutionVersionoptionalinterface{}#
Whether the campaign automatically updates to use the latest solution version.