FilterDateTimePickerControlProperty Struct
A control from a date filter that is used to specify date and time.
| 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 filterDateTimePickerControlProperty: quicksight.CfnAnalysis.FilterDateTimePickerControlProperty = {
filterControlId: 'filterControlId',
sourceFilterId: 'sourceFilterId',
title: 'title',
// the properties below are optional
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',
};
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
filter_date_time_picker_control_property = quicksight.CfnAnalysis.FilterDateTimePickerControlProperty(
filter_control_id="filterControlId",
source_filter_id="sourceFilterId",
title="title",
# the properties below are optional
commit_mode="commitMode",
display_options=quicksight.CfnAnalysis.DateTimePickerControlDisplayOptionsProperty(
date_icon_visibility="dateIconVisibility",
date_time_format="dateTimeFormat",
helper_text_visibility="helperTextVisibility",
info_icon_label_options=quicksight.CfnAnalysis.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
title_options=quicksight.CfnAnalysis.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnAnalysis.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnAnalysis.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnAnalysis.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
type="type"
)
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.*;
FilterDateTimePickerControlProperty filterDateTimePickerControlProperty = FilterDateTimePickerControlProperty.builder()
.filterControlId("filterControlId")
.sourceFilterId("sourceFilterId")
.title("title")
// the properties below are optional
.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();
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 filterDateTimePickerControlProperty = new FilterDateTimePickerControlProperty {
FilterControlId = "filterControlId",
SourceFilterId = "sourceFilterId",
Title = "title",
// the properties below are optional
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"
};
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"
filterDateTimePickerControlProperty := &FilterDateTimePickerControlProperty{
FilterControlId: jsii.String("filterControlId"),
SourceFilterId: jsii.String("sourceFilterId"),
Title: jsii.String("title"),
// the properties below are optional
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"),
}
Properties
commitModeoptionalstringcommit_modeoptionalstrcommitModeoptionalStringCommitModeoptionalstringCommitModeoptional*string #The visibility configurationof the Apply button on a `DateTimePickerControl` .
displayOptionsoptionalIResolvable | CfnAnalysis.display_optionsoptionaltyping.Union[IResolvable, DateTimePickerControlDisplayOptionsProperty]displayOptionsoptionalIResolvableDisplayOptionsoptionalIResolvableDisplayOptionsoptionalinterface{} #The display options of a control.
filterControlIdstringfilter_control_idstrfilterControlIdStringFilterControlIdstringFilterControlId*string required #The ID of the `FilterDateTimePickerControl` .
sourceFilterIdstringsource_filter_idstrsourceFilterIdStringSourceFilterIdstringSourceFilterId*string required #The source filter ID of the `FilterDateTimePickerControl` .
The title of the `FilterDateTimePickerControl` .
The type of the `FilterDropDownControl` . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from a dropdown menu.SINGLE_SELECT: The user can select a single entry from a dropdown menu.