We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Dataset
Group stringArn - 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.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags to associate with the filter.
- Dataset
Group stringArn - 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.
-
Tag
Args - Tags to associate with the filter.
- dataset_
group_ stringarn - 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.
- list(object)
- Tags to associate with the filter.
- dataset
Group StringArn - 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.
- List<Tag>
- Tags to associate with the filter.
- dataset
Group stringArn - 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.
- Tag[]
- Tags to associate with the filter.
- dataset_
group_ strarn - 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.
-
Sequence[Tag
Args] - Tags to associate with the filter.
- dataset
Group StringArn - 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.
- 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:
- Creation
Date stringTime - 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 stringDate Time - The time at which the filter was last updated.
- Status string
- The status of the filter.
- Creation
Date stringTime - 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 stringDate Time - The time at which the filter was last updated.
- Status string
- The status of the filter.
- creation_
date_ stringtime - 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_ stringdate_ time - The time at which the filter was last updated.
- status string
- The status of the filter.
- creation
Date StringTime - 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 StringDate Time - The time at which the filter was last updated.
- status String
- The status of the filter.
- creation
Date stringTime - 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 stringDate Time - The time at which the filter was last updated.
- status string
- The status of the filter.
- creation_
date_ strtime - 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_ strdate_ time - The time at which the filter was last updated.
- status str
- The status of the filter.
- creation
Date StringTime - 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 StringDate Time - 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.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi