interface TopicFilterProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.QuickSight.CfnTopic.TopicFilterProperty | 
  Java | software.amazon.awscdk.services.quicksight.CfnTopic.TopicFilterProperty | 
  Python | aws_cdk.aws_quicksight.CfnTopic.TopicFilterProperty | 
  TypeScript  | @aws-cdk/aws-quicksight » CfnTopic » TopicFilterProperty | 
A structure that represents a filter used to select items for a topic.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const topicFilterProperty: quicksight.CfnTopic.TopicFilterProperty = {
  filterName: 'filterName',
  operandFieldName: 'operandFieldName',
  // the properties below are optional
  categoryFilter: {
    categoryFilterFunction: 'categoryFilterFunction',
    categoryFilterType: 'categoryFilterType',
    constant: {
      collectiveConstant: {
        valueList: ['valueList'],
      },
      constantType: 'constantType',
      singularConstant: 'singularConstant',
    },
    inverse: false,
  },
  dateRangeFilter: {
    constant: {
      constantType: 'constantType',
      rangeConstant: {
        maximum: 'maximum',
        minimum: 'minimum',
      },
    },
    inclusive: false,
  },
  filterClass: 'filterClass',
  filterDescription: 'filterDescription',
  filterSynonyms: ['filterSynonyms'],
  filterType: 'filterType',
  numericEqualityFilter: {
    aggregation: 'aggregation',
    constant: {
      constantType: 'constantType',
      singularConstant: 'singularConstant',
    },
  },
  numericRangeFilter: {
    aggregation: 'aggregation',
    constant: {
      constantType: 'constantType',
      rangeConstant: {
        maximum: 'maximum',
        minimum: 'minimum',
      },
    },
    inclusive: false,
  },
  relativeDateFilter: {
    constant: {
      constantType: 'constantType',
      singularConstant: 'singularConstant',
    },
    relativeDateFilterFunction: 'relativeDateFilterFunction',
    timeGranularity: 'timeGranularity',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| filter | string | The name of the filter. | 
| operand | string | The name of the field that the filter operates on. | 
| category | IResolvable | Topic | The category filter that is associated with this filter. | 
| date | IResolvable | Topic | The date range filter. | 
| filter | string | The class of the filter. | 
| filter | string | A description of the filter used to select items for a topic. | 
| filter | string[] | The other names or aliases for the filter. | 
| filter | string | The type of the filter. | 
| numeric | IResolvable | Topic | The numeric equality filter. | 
| numeric | IResolvable | Topic | The numeric range filter. | 
| relative | IResolvable | Topic | The relative date filter. | 
filterName
Type:
string
The name of the filter.
operandFieldName
Type:
string
The name of the field that the filter operates on.
categoryFilter?
Type:
IResolvable | Topic
(optional)
The category filter that is associated with this filter.
dateRangeFilter?
Type:
IResolvable | Topic
(optional)
The date range filter.
filterClass?
Type:
string
(optional)
The class of the filter.
Valid values for this structure are ENFORCED_VALUE_FILTER , CONDITIONAL_VALUE_FILTER , and NAMED_VALUE_FILTER .
filterDescription?
Type:
string
(optional)
A description of the filter used to select items for a topic.
filterSynonyms?
Type:
string[]
(optional)
The other names or aliases for the filter.
filterType?
Type:
string
(optional)
The type of the filter.
Valid values for this structure are CATEGORY_FILTER , NUMERIC_EQUALITY_FILTER , NUMERIC_RANGE_FILTER , DATE_RANGE_FILTER , and RELATIVE_DATE_FILTER .
numericEqualityFilter?
Type:
IResolvable | Topic
(optional)
The numeric equality filter.
numericRangeFilter?
Type:
IResolvable | Topic
(optional)
The numeric range filter.
relativeDateFilter?
Type:
IResolvable | Topic
(optional)
The relative date filter.

 .NET
 Java
 Python
 TypeScript