TopicDateRangeFilterProperty Struct
A filter used to restrict data based on a range of dates or times.
| 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 topicDateRangeFilterProperty: quicksight.CfnTopic.TopicDateRangeFilterProperty = {
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_date_range_filter_property = quicksight.CfnTopic.TopicDateRangeFilterProperty(
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.*;
TopicDateRangeFilterProperty topicDateRangeFilterProperty = TopicDateRangeFilterProperty.builder()
.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 topicDateRangeFilterProperty = new TopicDateRangeFilterProperty {
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"
topicDateRangeFilterProperty := &TopicDateRangeFilterProperty{
Constant: &TopicRangeFilterConstantProperty{
ConstantType: jsii.String("constantType"),
RangeConstant: &RangeConstantProperty{
Maximum: jsii.String("maximum"),
Minimum: jsii.String("minimum"),
},
},
Inclusive: jsii.Boolean(false),
}
Properties
constantoptionalIResolvable | CfnTopic.constantoptionaltyping.Union[IResolvable, TopicRangeFilterConstantProperty]constantoptionalIResolvableConstantoptionalIResolvableConstantoptionalinterface{} #The constant used in a date range filter.
inclusiveoptionalboolean | IResolvableinclusiveoptionaltyping.Union[bool, IResolvable]inclusiveoptionalBooleanInclusiveoptionalboolInclusiveoptionalinterface{} = false #A Boolean value that indicates whether the date range filter should include the boundary values.
If set to true, the filter includes the start and end dates. If set to false, the filter excludes them.