DefaultDateTimePickerControlOptionsProperty Struct
The default options that correspond to the filter control type of a DateTimePicker .
| 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 defaultDateTimePickerControlOptionsProperty: quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty = {
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
default_date_time_picker_control_options_property = quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty(
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.*;
DefaultDateTimePickerControlOptionsProperty defaultDateTimePickerControlOptionsProperty = 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();
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 defaultDateTimePickerControlOptionsProperty = 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"
};
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"
defaultDateTimePickerControlOptionsProperty := &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"),
}
Properties
commitModeoptionalstringcommit_modeoptionalstrcommitModeoptionalStringCommitModeoptionalstringCommitModeoptional*string #The visibility configuration of the Apply button on a `DateTimePickerControl` .
displayOptionsoptionalIResolvable | CfnAnalysis.display_optionsoptionaltyping.Union[IResolvable, DateTimePickerControlDisplayOptionsProperty]displayOptionsoptionalIResolvableDisplayOptionsoptionalIResolvableDisplayOptionsoptionalinterface{} #The display options of a control.
The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options:.
SINGLE_VALUED: The filter condition is a fixed date.DATE_RANGE: The filter condition is a date time range.