TimeRangeFilterProperty Struct
A TimeRangeFilter filters values that are between two specified values.
| 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 timeRangeFilterProperty: quicksight.CfnTemplate.TimeRangeFilterProperty = {
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
filterId: 'filterId',
nullOption: 'nullOption',
// the properties below are optional
defaultFilterControlConfiguration: {
controlOptions: {
defaultDateTimePickerOptions: {
commitMode: 'commitMode',
displayOptions: {
dateIconVisibility: 'dateIconVisibility',
dateTimeFormat: 'dateTimeFormat',
helperTextVisibility: 'helperTextVisibility',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultDropdownOptions: {
commitMode: 'commitMode',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultListOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
searchOptions: {
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultRelativeDateTimeOptions: {
commitMode: 'commitMode',
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultSliderOptions: {
maximumValue: 123,
minimumValue: 123,
stepSize: 123,
// the properties below are optional
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultTextAreaOptions: {
delimiter: 'delimiter',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultTextFieldOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
},
title: 'title',
},
excludePeriodConfiguration: {
amount: 123,
granularity: 'granularity',
// the properties below are optional
status: 'status',
},
includeMaximum: false,
includeMinimum: false,
rangeMaximumValue: {
parameter: 'parameter',
rollingDate: {
expression: 'expression',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
},
staticValue: 'staticValue',
},
rangeMinimumValue: {
parameter: 'parameter',
rollingDate: {
expression: 'expression',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
},
staticValue: 'staticValue',
},
timeGranularity: 'timeGranularity',
};
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
time_range_filter_property = quicksight.CfnTemplate.TimeRangeFilterProperty(
column=quicksight.CfnTemplate.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
filter_id="filterId",
null_option="nullOption",
# the properties below are optional
default_filter_control_configuration=quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty(
control_options=quicksight.CfnTemplate.DefaultFilterControlOptionsProperty(
default_date_time_picker_options=quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty(
commit_mode="commitMode",
display_options=quicksight.CfnTemplate.DateTimePickerControlDisplayOptionsProperty(
date_icon_visibility="dateIconVisibility",
date_time_format="dateTimeFormat",
helper_text_visibility="helperTextVisibility",
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
type="type"
),
default_dropdown_options=quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty(
commit_mode="commitMode",
display_options=quicksight.CfnTemplate.DropDownControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
select_all_options=quicksight.CfnTemplate.ListControlSelectAllOptionsProperty(
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
selectable_values=quicksight.CfnTemplate.FilterSelectableValuesProperty(
values=["values"]
),
type="type"
),
default_list_options=quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty(
display_options=quicksight.CfnTemplate.ListControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
search_options=quicksight.CfnTemplate.ListControlSearchOptionsProperty(
visibility="visibility"
),
select_all_options=quicksight.CfnTemplate.ListControlSelectAllOptionsProperty(
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
selectable_values=quicksight.CfnTemplate.FilterSelectableValuesProperty(
values=["values"]
),
type="type"
),
default_relative_date_time_options=quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty(
commit_mode="commitMode",
display_options=quicksight.CfnTemplate.RelativeDateTimeControlDisplayOptionsProperty(
date_time_format="dateTimeFormat",
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
)
),
default_slider_options=quicksight.CfnTemplate.DefaultSliderControlOptionsProperty(
maximum_value=123,
minimum_value=123,
step_size=123,
# the properties below are optional
display_options=quicksight.CfnTemplate.SliderControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
type="type"
),
default_text_area_options=quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty(
delimiter="delimiter",
display_options=quicksight.CfnTemplate.TextAreaControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
placeholder_options=quicksight.CfnTemplate.TextControlPlaceholderOptionsProperty(
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
)
),
default_text_field_options=quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty(
display_options=quicksight.CfnTemplate.TextFieldControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
placeholder_options=quicksight.CfnTemplate.TextControlPlaceholderOptionsProperty(
visibility="visibility"
),
title_options=quicksight.CfnTemplate.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
)
)
),
title="title"
),
exclude_period_configuration=quicksight.CfnTemplate.ExcludePeriodConfigurationProperty(
amount=123,
granularity="granularity",
# the properties below are optional
status="status"
),
include_maximum=False,
include_minimum=False,
range_maximum_value=quicksight.CfnTemplate.TimeRangeFilterValueProperty(
parameter="parameter",
rolling_date=quicksight.CfnTemplate.RollingDateConfigurationProperty(
expression="expression",
# the properties below are optional
data_set_identifier="dataSetIdentifier"
),
static_value="staticValue"
),
range_minimum_value=quicksight.CfnTemplate.TimeRangeFilterValueProperty(
parameter="parameter",
rolling_date=quicksight.CfnTemplate.RollingDateConfigurationProperty(
expression="expression",
# the properties below are optional
data_set_identifier="dataSetIdentifier"
),
static_value="staticValue"
),
time_granularity="timeGranularity"
)
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.*;
TimeRangeFilterProperty timeRangeFilterProperty = TimeRangeFilterProperty.builder()
.column(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
.filterId("filterId")
.nullOption("nullOption")
// the properties below are optional
.defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder()
.controlOptions(DefaultFilterControlOptionsProperty.builder()
.defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder()
.commitMode("commitMode")
.displayOptions(DateTimePickerControlDisplayOptionsProperty.builder()
.dateIconVisibility("dateIconVisibility")
.dateTimeFormat("dateTimeFormat")
.helperTextVisibility("helperTextVisibility")
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.type("type")
.build())
.defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder()
.commitMode("commitMode")
.displayOptions(DropDownControlDisplayOptionsProperty.builder()
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.selectAllOptions(ListControlSelectAllOptionsProperty.builder()
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.selectableValues(FilterSelectableValuesProperty.builder()
.values(List.of("values"))
.build())
.type("type")
.build())
.defaultListOptions(DefaultFilterListControlOptionsProperty.builder()
.displayOptions(ListControlDisplayOptionsProperty.builder()
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.searchOptions(ListControlSearchOptionsProperty.builder()
.visibility("visibility")
.build())
.selectAllOptions(ListControlSelectAllOptionsProperty.builder()
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.selectableValues(FilterSelectableValuesProperty.builder()
.values(List.of("values"))
.build())
.type("type")
.build())
.defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder()
.commitMode("commitMode")
.displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder()
.dateTimeFormat("dateTimeFormat")
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.build())
.defaultSliderOptions(DefaultSliderControlOptionsProperty.builder()
.maximumValue(123)
.minimumValue(123)
.stepSize(123)
// the properties below are optional
.displayOptions(SliderControlDisplayOptionsProperty.builder()
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.type("type")
.build())
.defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder()
.delimiter("delimiter")
.displayOptions(TextAreaControlDisplayOptionsProperty.builder()
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.placeholderOptions(TextControlPlaceholderOptionsProperty.builder()
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.build())
.defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder()
.displayOptions(TextFieldControlDisplayOptionsProperty.builder()
.infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
.infoIconText("infoIconText")
.visibility("visibility")
.build())
.placeholderOptions(TextControlPlaceholderOptionsProperty.builder()
.visibility("visibility")
.build())
.titleOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.build())
.build())
.build())
.title("title")
.build())
.excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder()
.amount(123)
.granularity("granularity")
// the properties below are optional
.status("status")
.build())
.includeMaximum(false)
.includeMinimum(false)
.rangeMaximumValue(TimeRangeFilterValueProperty.builder()
.parameter("parameter")
.rollingDate(RollingDateConfigurationProperty.builder()
.expression("expression")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.build())
.staticValue("staticValue")
.build())
.rangeMinimumValue(TimeRangeFilterValueProperty.builder()
.parameter("parameter")
.rollingDate(RollingDateConfigurationProperty.builder()
.expression("expression")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.build())
.staticValue("staticValue")
.build())
.timeGranularity("timeGranularity")
.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 timeRangeFilterProperty = new TimeRangeFilterProperty {
Column = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
},
FilterId = "filterId",
NullOption = "nullOption",
// the properties below are optional
DefaultFilterControlConfiguration = new DefaultFilterControlConfigurationProperty {
ControlOptions = new DefaultFilterControlOptionsProperty {
DefaultDateTimePickerOptions = new DefaultDateTimePickerControlOptionsProperty {
CommitMode = "commitMode",
DisplayOptions = new DateTimePickerControlDisplayOptionsProperty {
DateIconVisibility = "dateIconVisibility",
DateTimeFormat = "dateTimeFormat",
HelperTextVisibility = "helperTextVisibility",
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
},
Type = "type"
},
DefaultDropdownOptions = new DefaultFilterDropDownControlOptionsProperty {
CommitMode = "commitMode",
DisplayOptions = new DropDownControlDisplayOptionsProperty {
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
SelectAllOptions = new ListControlSelectAllOptionsProperty {
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
},
SelectableValues = new FilterSelectableValuesProperty {
Values = new [] { "values" }
},
Type = "type"
},
DefaultListOptions = new DefaultFilterListControlOptionsProperty {
DisplayOptions = new ListControlDisplayOptionsProperty {
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
SearchOptions = new ListControlSearchOptionsProperty {
Visibility = "visibility"
},
SelectAllOptions = new ListControlSelectAllOptionsProperty {
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
},
SelectableValues = new FilterSelectableValuesProperty {
Values = new [] { "values" }
},
Type = "type"
},
DefaultRelativeDateTimeOptions = new DefaultRelativeDateTimeControlOptionsProperty {
CommitMode = "commitMode",
DisplayOptions = new RelativeDateTimeControlDisplayOptionsProperty {
DateTimeFormat = "dateTimeFormat",
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
}
},
DefaultSliderOptions = new DefaultSliderControlOptionsProperty {
MaximumValue = 123,
MinimumValue = 123,
StepSize = 123,
// the properties below are optional
DisplayOptions = new SliderControlDisplayOptionsProperty {
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
},
Type = "type"
},
DefaultTextAreaOptions = new DefaultTextAreaControlOptionsProperty {
Delimiter = "delimiter",
DisplayOptions = new TextAreaControlDisplayOptionsProperty {
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
PlaceholderOptions = new TextControlPlaceholderOptionsProperty {
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
}
},
DefaultTextFieldOptions = new DefaultTextFieldControlOptionsProperty {
DisplayOptions = new TextFieldControlDisplayOptionsProperty {
InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
InfoIconText = "infoIconText",
Visibility = "visibility"
},
PlaceholderOptions = new TextControlPlaceholderOptionsProperty {
Visibility = "visibility"
},
TitleOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
}
}
}
},
Title = "title"
},
ExcludePeriodConfiguration = new ExcludePeriodConfigurationProperty {
Amount = 123,
Granularity = "granularity",
// the properties below are optional
Status = "status"
},
IncludeMaximum = false,
IncludeMinimum = false,
RangeMaximumValue = new TimeRangeFilterValueProperty {
Parameter = "parameter",
RollingDate = new RollingDateConfigurationProperty {
Expression = "expression",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier"
},
StaticValue = "staticValue"
},
RangeMinimumValue = new TimeRangeFilterValueProperty {
Parameter = "parameter",
RollingDate = new RollingDateConfigurationProperty {
Expression = "expression",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier"
},
StaticValue = "staticValue"
},
TimeGranularity = "timeGranularity"
};
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"
timeRangeFilterProperty := &TimeRangeFilterProperty{
Column: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
FilterId: jsii.String("filterId"),
NullOption: jsii.String("nullOption"),
// the properties below are optional
DefaultFilterControlConfiguration: &DefaultFilterControlConfigurationProperty{
ControlOptions: &DefaultFilterControlOptionsProperty{
DefaultDateTimePickerOptions: &DefaultDateTimePickerControlOptionsProperty{
CommitMode: jsii.String("commitMode"),
DisplayOptions: &DateTimePickerControlDisplayOptionsProperty{
DateIconVisibility: jsii.String("dateIconVisibility"),
DateTimeFormat: jsii.String("dateTimeFormat"),
HelperTextVisibility: jsii.String("helperTextVisibility"),
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
Type: jsii.String("type"),
},
DefaultDropdownOptions: &DefaultFilterDropDownControlOptionsProperty{
CommitMode: jsii.String("commitMode"),
DisplayOptions: &DropDownControlDisplayOptionsProperty{
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
SelectAllOptions: &ListControlSelectAllOptionsProperty{
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
SelectableValues: &FilterSelectableValuesProperty{
Values: []*string{
jsii.String("values"),
},
},
Type: jsii.String("type"),
},
DefaultListOptions: &DefaultFilterListControlOptionsProperty{
DisplayOptions: &ListControlDisplayOptionsProperty{
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
SearchOptions: &ListControlSearchOptionsProperty{
Visibility: jsii.String("visibility"),
},
SelectAllOptions: &ListControlSelectAllOptionsProperty{
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
SelectableValues: &FilterSelectableValuesProperty{
Values: []*string{
jsii.String("values"),
},
},
Type: jsii.String("type"),
},
DefaultRelativeDateTimeOptions: &DefaultRelativeDateTimeControlOptionsProperty{
CommitMode: jsii.String("commitMode"),
DisplayOptions: &RelativeDateTimeControlDisplayOptionsProperty{
DateTimeFormat: jsii.String("dateTimeFormat"),
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
},
DefaultSliderOptions: &DefaultSliderControlOptionsProperty{
MaximumValue: jsii.Number(123),
MinimumValue: jsii.Number(123),
StepSize: jsii.Number(123),
// the properties below are optional
DisplayOptions: &SliderControlDisplayOptionsProperty{
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
Type: jsii.String("type"),
},
DefaultTextAreaOptions: &DefaultTextAreaControlOptionsProperty{
Delimiter: jsii.String("delimiter"),
DisplayOptions: &TextAreaControlDisplayOptionsProperty{
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
PlaceholderOptions: &TextControlPlaceholderOptionsProperty{
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
},
DefaultTextFieldOptions: &DefaultTextFieldControlOptionsProperty{
DisplayOptions: &TextFieldControlDisplayOptionsProperty{
InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
InfoIconText: jsii.String("infoIconText"),
Visibility: jsii.String("visibility"),
},
PlaceholderOptions: &TextControlPlaceholderOptionsProperty{
Visibility: jsii.String("visibility"),
},
TitleOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
},
},
},
Title: jsii.String("title"),
},
ExcludePeriodConfiguration: &ExcludePeriodConfigurationProperty{
Amount: jsii.Number(123),
Granularity: jsii.String("granularity"),
// the properties below are optional
Status: jsii.String("status"),
},
IncludeMaximum: jsii.Boolean(false),
IncludeMinimum: jsii.Boolean(false),
RangeMaximumValue: &TimeRangeFilterValueProperty{
Parameter: jsii.String("parameter"),
RollingDate: &RollingDateConfigurationProperty{
Expression: jsii.String("expression"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
},
StaticValue: jsii.String("staticValue"),
},
RangeMinimumValue: &TimeRangeFilterValueProperty{
Parameter: jsii.String("parameter"),
RollingDate: &RollingDateConfigurationProperty{
Expression: jsii.String("expression"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
},
StaticValue: jsii.String("staticValue"),
},
TimeGranularity: jsii.String("timeGranularity"),
}
Properties
columnIResolvable | CfnTemplate.columntyping.Union[IResolvable, ColumnIdentifierProperty]columnIResolvableColumnIResolvableColumninterface{} required #The column that the filter is applied to.
defaultFilterControlConfigurationoptionalIResolvable | CfnTemplate.default_filter_control_configurationoptionaltyping.Union[IResolvable, DefaultFilterControlConfigurationProperty]defaultFilterControlConfigurationoptionalIResolvableDefaultFilterControlConfigurationoptionalIResolvableDefaultFilterControlConfigurationoptionalinterface{} #The default configurations for the associated controls.
This applies only for filters that are scoped to multiple sheets.
excludePeriodConfigurationoptionalIResolvable | CfnTemplate.exclude_period_configurationoptionaltyping.Union[IResolvable, ExcludePeriodConfigurationProperty]excludePeriodConfigurationoptionalIResolvableExcludePeriodConfigurationoptionalIResolvableExcludePeriodConfigurationoptionalinterface{} #The exclude period of the time range filter.
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
includeMaximumoptionalboolean | IResolvableinclude_maximumoptionaltyping.Union[bool, IResolvable]includeMaximumoptionalBooleanIncludeMaximumoptionalboolIncludeMaximumoptionalinterface{} #Determines whether the maximum value in the filter value range should be included in the filtered results.
includeMinimumoptionalboolean | IResolvableinclude_minimumoptionaltyping.Union[bool, IResolvable]includeMinimumoptionalBooleanIncludeMinimumoptionalboolIncludeMinimumoptionalinterface{} #Determines whether the minimum value in the filter value range should be included in the filtered results.
This option determines how null values should be treated when filtering data.
ALL_VALUES: Include null values in filtered results.NULLS_ONLY: Only include null values in filtered results.NON_NULLS_ONLY: Exclude null values from filtered results.
rangeMaximumValueoptionalIResolvable | CfnTemplate.range_maximum_valueoptionaltyping.Union[IResolvable, TimeRangeFilterValueProperty]rangeMaximumValueoptionalIResolvableRangeMaximumValueoptionalIResolvableRangeMaximumValueoptionalinterface{} #The maximum value for the filter value range.
rangeMinimumValueoptionalIResolvable | CfnTemplate.range_minimum_valueoptionaltyping.Union[IResolvable, TimeRangeFilterValueProperty]rangeMinimumValueoptionalIResolvableRangeMinimumValueoptionalIResolvableRangeMinimumValueoptionalinterface{} #The minimum value for the filter value range.
timeGranularityoptionalstringtime_granularityoptionalstrtimeGranularityoptionalStringTimeGranularityoptionalstringTimeGranularityoptional*string #The level of time precision that is used to aggregate `DateTime` values.