TopicNumericRangeFilterProperty Struct
A filter that filters topics based on the value of a numeric field.
The filter includes only topics whose numeric field value falls within the specified range.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const topicNumericRangeFilterProperty: quicksight.CfnTopic.TopicNumericRangeFilterProperty = {
aggregation: 'aggregation',
constant: {
constantType: 'constantType',
rangeConstant: {
maximum: 'maximum',
minimum: 'minimum',
},
},
inclusive: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
topic_numeric_range_filter_property = quicksight.CfnTopic.TopicNumericRangeFilterProperty(
aggregation="aggregation",
constant=quicksight.CfnTopic.TopicRangeFilterConstantProperty(
constant_type="constantType",
range_constant=quicksight.CfnTopic.RangeConstantProperty(
maximum="maximum",
minimum="minimum"
)
),
inclusive=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
TopicNumericRangeFilterProperty topicNumericRangeFilterProperty = TopicNumericRangeFilterProperty.builder()
.aggregation("aggregation")
.constant(TopicRangeFilterConstantProperty.builder()
.constantType("constantType")
.rangeConstant(RangeConstantProperty.builder()
.maximum("maximum")
.minimum("minimum")
.build())
.build())
.inclusive(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var topicNumericRangeFilterProperty = new TopicNumericRangeFilterProperty {
Aggregation = "aggregation",
Constant = new TopicRangeFilterConstantProperty {
ConstantType = "constantType",
RangeConstant = new RangeConstantProperty {
Maximum = "maximum",
Minimum = "minimum"
}
},
Inclusive = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
topicNumericRangeFilterProperty := &TopicNumericRangeFilterProperty{
Aggregation: jsii.String("aggregation"),
Constant: &TopicRangeFilterConstantProperty{
ConstantType: jsii.String("constantType"),
RangeConstant: &RangeConstantProperty{
Maximum: jsii.String("maximum"),
Minimum: jsii.String("minimum"),
},
},
Inclusive: jsii.Boolean(false),
}
Properties
aggregationoptionalstringaggregationoptionalstraggregationoptionalStringAggregationoptionalstringAggregationoptional*string #An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are `NO_AGGREGATION` , `SUM` , `AVERAGE` , `COUNT` , `DISTINCT_COUNT` , `MAX` , `MEDIAN` , `MIN` , `STDEV` , `STDEVP` , `VAR` , and `VARP` .
constantoptionalIResolvable | CfnTopic.constantoptionaltyping.Union[IResolvable, TopicRangeFilterConstantProperty]constantoptionalIResolvableConstantoptionalIResolvableConstantoptionalinterface{} #The constant used in a numeric range filter.
inclusiveoptionalboolean | IResolvableinclusiveoptionaltyping.Union[bool, IResolvable]inclusiveoptionalBooleanInclusiveoptionalboolInclusiveoptionalinterface{} = false #A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.