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

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    A recommendation filter that defines which items are included or excluded from recommendations.

    Create Filter Resource

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

    Constructor syntax

    new Filter(name: string, args: FilterArgs, opts?: CustomResourceOptions);
    @overload
    def Filter(resource_name: str,
               args: FilterArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Filter(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               dataset_group_arn: Optional[str] = None,
               filter_expression: Optional[str] = None,
               name: Optional[str] = None,
               tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewFilter(ctx *Context, name string, args FilterArgs, opts ...ResourceOption) (*Filter, error)
    public Filter(string name, FilterArgs args, CustomResourceOptions? opts = null)
    public Filter(String name, FilterArgs args)
    public Filter(String name, FilterArgs args, CustomResourceOptions options)
    
    type: aws-native:personalize:Filter
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_personalize_filter" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FilterArgs
    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 FilterArgs
    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 FilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Filter 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 Filter resource accepts the following input properties:

    DatasetGroupArn string
    The ARN of the dataset group that the filter belongs to.
    FilterExpression string
    The filter expression that defines which items are included or excluded from recommendations.
    Name string
    The name of the filter.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags to associate with the filter.
    DatasetGroupArn string
    The ARN of the dataset group that the filter belongs to.
    FilterExpression string
    The filter expression that defines which items are included or excluded from recommendations.
    Name string
    The name of the filter.
    Tags TagArgs
    Tags to associate with the filter.
    dataset_group_arn string
    The ARN of the dataset group that the filter belongs to.
    filter_expression string
    The filter expression that defines which items are included or excluded from recommendations.
    name string
    The name of the filter.
    tags list(object)
    Tags to associate with the filter.
    datasetGroupArn String
    The ARN of the dataset group that the filter belongs to.
    filterExpression String
    The filter expression that defines which items are included or excluded from recommendations.
    name String
    The name of the filter.
    tags List<Tag>
    Tags to associate with the filter.
    datasetGroupArn string
    The ARN of the dataset group that the filter belongs to.
    filterExpression string
    The filter expression that defines which items are included or excluded from recommendations.
    name string
    The name of the filter.
    tags Tag[]
    Tags to associate with the filter.
    dataset_group_arn str
    The ARN of the dataset group that the filter belongs to.
    filter_expression str
    The filter expression that defines which items are included or excluded from recommendations.
    name str
    The name of the filter.
    tags Sequence[TagArgs]
    Tags to associate with the filter.
    datasetGroupArn String
    The ARN of the dataset group that the filter belongs to.
    filterExpression String
    The filter expression that defines which items are included or excluded from recommendations.
    name String
    The name of the filter.
    tags List<Property Map>
    Tags to associate with the filter.

    Outputs

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

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

    Supporting Types

    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

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

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial