1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. personalize
  6. Campaign

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    A deployment of a solution version that provides real-time recommendations.

    Create Campaign Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Campaign(name: string, args: CampaignArgs, opts?: CustomResourceOptions);
    @overload
    def Campaign(resource_name: str,
                 args: CampaignArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Campaign(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 solution_version_arn: Optional[str] = None,
                 campaign_config: Optional[CampaignConfigArgs] = None,
                 min_provisioned_tps: Optional[int] = None,
                 name: Optional[str] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewCampaign(ctx *Context, name string, args CampaignArgs, opts ...ResourceOption) (*Campaign, error)
    public Campaign(string name, CampaignArgs args, CustomResourceOptions? opts = null)
    public Campaign(String name, CampaignArgs args)
    public Campaign(String name, CampaignArgs args, CustomResourceOptions options)
    
    type: aws-native:personalize:Campaign
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_personalize_campaign" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CampaignArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CampaignArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CampaignArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CampaignArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CampaignArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Campaign Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Campaign resource accepts the following input properties:

    SolutionVersionArn string
    The ARN of the solution version to deploy.
    CampaignConfig Pulumi.AwsNative.Personalize.Inputs.CampaignConfig
    MinProvisionedTps int
    Specifies the requested minimum provisioned transactions per second.
    Name string
    The name of the campaign.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags to associate with the campaign.
    SolutionVersionArn string
    The ARN of the solution version to deploy.
    CampaignConfig CampaignConfigArgs
    MinProvisionedTps int
    Specifies the requested minimum provisioned transactions per second.
    Name string
    The name of the campaign.
    Tags TagArgs
    Tags to associate with the campaign.
    solution_version_arn string
    The ARN of the solution version to deploy.
    campaign_config object
    min_provisioned_tps number
    Specifies the requested minimum provisioned transactions per second.
    name string
    The name of the campaign.
    tags list(object)
    Tags to associate with the campaign.
    solutionVersionArn String
    The ARN of the solution version to deploy.
    campaignConfig CampaignConfig
    minProvisionedTps Integer
    Specifies the requested minimum provisioned transactions per second.
    name String
    The name of the campaign.
    tags List<Tag>
    Tags to associate with the campaign.
    solutionVersionArn string
    The ARN of the solution version to deploy.
    campaignConfig CampaignConfig
    minProvisionedTps number
    Specifies the requested minimum provisioned transactions per second.
    name string
    The name of the campaign.
    tags Tag[]
    Tags to associate with the campaign.
    solution_version_arn str
    The ARN of the solution version to deploy.
    campaign_config CampaignConfigArgs
    min_provisioned_tps int
    Specifies the requested minimum provisioned transactions per second.
    name str
    The name of the campaign.
    tags Sequence[TagArgs]
    Tags to associate with the campaign.
    solutionVersionArn String
    The ARN of the solution version to deploy.
    campaignConfig Property Map
    minProvisionedTps Number
    Specifies the requested minimum provisioned transactions per second.
    name String
    The name of the campaign.
    tags List<Property Map>
    Tags to associate with the campaign.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Campaign resource produces the following output properties:

    CampaignArn string
    The ARN of the campaign.
    CreationDateTime string
    The time at which the campaign was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDateTime string
    The time at which the campaign was last updated.
    Status string
    The status of the campaign.
    CampaignArn string
    The ARN of the campaign.
    CreationDateTime string
    The time at which the campaign was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDateTime string
    The time at which the campaign was last updated.
    Status string
    The status of the campaign.
    campaign_arn string
    The ARN of the campaign.
    creation_date_time string
    The time at which the campaign was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_date_time string
    The time at which the campaign was last updated.
    status string
    The status of the campaign.
    campaignArn String
    The ARN of the campaign.
    creationDateTime String
    The time at which the campaign was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDateTime String
    The time at which the campaign was last updated.
    status String
    The status of the campaign.
    campaignArn string
    The ARN of the campaign.
    creationDateTime string
    The time at which the campaign was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDateTime string
    The time at which the campaign was last updated.
    status string
    The status of the campaign.
    campaign_arn str
    The ARN of the campaign.
    creation_date_time str
    The time at which the campaign was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_date_time str
    The time at which the campaign was last updated.
    status str
    The status of the campaign.
    campaignArn String
    The ARN of the campaign.
    creationDateTime String
    The time at which the campaign was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDateTime String
    The time at which the campaign was last updated.
    status String
    The status of the campaign.

    Supporting Types

    CampaignConfig, CampaignConfigArgs

    The configuration details of a campaign.
    EnableMetadataWithRecommendations bool
    Whether metadata with recommendations is enabled for the campaign.
    ItemExplorationConfig Dictionary<string, string>
    Specifies the exploration configuration hyperparameters.
    RankingInfluence Dictionary<string, double>
    A map of ranking influence values for POPULARITY and FRESHNESS.
    SyncWithLatestSolutionVersion bool
    Whether the campaign automatically updates to use the latest solution version.
    EnableMetadataWithRecommendations bool
    Whether metadata with recommendations is enabled for the campaign.
    ItemExplorationConfig map[string]string
    Specifies the exploration configuration hyperparameters.
    RankingInfluence map[string]float64
    A map of ranking influence values for POPULARITY and FRESHNESS.
    SyncWithLatestSolutionVersion bool
    Whether the campaign automatically updates to use the latest solution version.
    enable_metadata_with_recommendations bool
    Whether metadata with recommendations is enabled for the campaign.
    item_exploration_config map(string)
    Specifies the exploration configuration hyperparameters.
    ranking_influence map(number)
    A map of ranking influence values for POPULARITY and FRESHNESS.
    sync_with_latest_solution_version bool
    Whether the campaign automatically updates to use the latest solution version.
    enableMetadataWithRecommendations Boolean
    Whether metadata with recommendations is enabled for the campaign.
    itemExplorationConfig Map<String,String>
    Specifies the exploration configuration hyperparameters.
    rankingInfluence Map<String,Double>
    A map of ranking influence values for POPULARITY and FRESHNESS.
    syncWithLatestSolutionVersion Boolean
    Whether the campaign automatically updates to use the latest solution version.
    enableMetadataWithRecommendations boolean
    Whether metadata with recommendations is enabled for the campaign.
    itemExplorationConfig {[key: string]: string}
    Specifies the exploration configuration hyperparameters.
    rankingInfluence {[key: string]: number}
    A map of ranking influence values for POPULARITY and FRESHNESS.
    syncWithLatestSolutionVersion boolean
    Whether the campaign automatically updates to use the latest solution version.
    enable_metadata_with_recommendations bool
    Whether metadata with recommendations is enabled for the campaign.
    item_exploration_config Mapping[str, str]
    Specifies the exploration configuration hyperparameters.
    ranking_influence Mapping[str, float]
    A map of ranking influence values for POPULARITY and FRESHNESS.
    sync_with_latest_solution_version bool
    Whether the campaign automatically updates to use the latest solution version.
    enableMetadataWithRecommendations Boolean
    Whether metadata with recommendations is enabled for the campaign.
    itemExplorationConfig Map<String>
    Specifies the exploration configuration hyperparameters.
    rankingInfluence Map<Number>
    A map of ranking influence values for POPULARITY and FRESHNESS.
    syncWithLatestSolutionVersion Boolean
    Whether the campaign automatically updates to use the latest solution version.

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial