FilterDropDownControlProperty Struct
A control to display a dropdown list with buttons that are used to select a single value.
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 filterDropDownControlProperty: quicksight.CfnDashboard.FilterDropDownControlProperty = {
filterControlId: 'filterControlId',
sourceFilterId: 'sourceFilterId',
title: 'title',
// the properties below are optional
cascadingControlConfiguration: {
sourceControls: [{
columnToMatch: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
sourceSheetControlId: 'sourceSheetControlId',
}],
},
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',
};
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_drop_down_control_property = quicksight.CfnDashboard.FilterDropDownControlProperty(
filter_control_id="filterControlId",
source_filter_id="sourceFilterId",
title="title",
# the properties below are optional
cascading_control_configuration=quicksight.CfnDashboard.CascadingControlConfigurationProperty(
source_controls=[quicksight.CfnDashboard.CascadingControlSourceProperty(
column_to_match=quicksight.CfnDashboard.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
source_sheet_control_id="sourceSheetControlId"
)]
),
commit_mode="commitMode",
display_options=quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
select_all_options=quicksight.CfnDashboard.ListControlSelectAllOptionsProperty(
visibility="visibility"
),
title_options=quicksight.CfnDashboard.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnDashboard.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnDashboard.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnDashboard.FontWeightProperty(
name="name"
)
),
visibility="visibility"
)
),
selectable_values=quicksight.CfnDashboard.FilterSelectableValuesProperty(
values=["values"]
),
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.*;
FilterDropDownControlProperty filterDropDownControlProperty = FilterDropDownControlProperty.builder()
.filterControlId("filterControlId")
.sourceFilterId("sourceFilterId")
.title("title")
// the properties below are optional
.cascadingControlConfiguration(CascadingControlConfigurationProperty.builder()
.sourceControls(List.of(CascadingControlSourceProperty.builder()
.columnToMatch(ColumnIdentifierProperty.builder()
.columnName("columnName")
// the properties below are optional
.dataSetIdentifier("dataSetIdentifier")
.topicIdentifier("topicIdentifier")
.build())
.sourceSheetControlId("sourceSheetControlId")
.build()))
.build())
.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();
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 filterDropDownControlProperty = new FilterDropDownControlProperty {
FilterControlId = "filterControlId",
SourceFilterId = "sourceFilterId",
Title = "title",
// the properties below are optional
CascadingControlConfiguration = new CascadingControlConfigurationProperty {
SourceControls = new [] { new CascadingControlSourceProperty {
ColumnToMatch = new ColumnIdentifierProperty {
ColumnName = "columnName",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier",
TopicIdentifier = "topicIdentifier"
},
SourceSheetControlId = "sourceSheetControlId"
} }
},
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"
};
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"
filterDropDownControlProperty := &FilterDropDownControlProperty{
FilterControlId: jsii.String("filterControlId"),
SourceFilterId: jsii.String("sourceFilterId"),
Title: jsii.String("title"),
// the properties below are optional
CascadingControlConfiguration: &CascadingControlConfigurationProperty{
SourceControls: []interface{}{
&CascadingControlSourceProperty{
ColumnToMatch: &ColumnIdentifierProperty{
ColumnName: jsii.String("columnName"),
// the properties below are optional
DataSetIdentifier: jsii.String("dataSetIdentifier"),
TopicIdentifier: jsii.String("topicIdentifier"),
},
SourceSheetControlId: jsii.String("sourceSheetControlId"),
},
},
},
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"),
}
Properties
cascadingControlConfigurationoptionalIResolvable | CfnDashboard.CascadingControlConfigurationPropertycascading_control_configurationoptionaltyping.Union[IResolvable, CascadingControlConfigurationProperty]cascadingControlConfigurationoptionalIResolvableCascadingControlConfigurationoptionalIResolvableCascadingControlConfigurationoptionalinterface{}#The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
commitModeoptionalstringcommit_modeoptionalstrcommitModeoptionalStringCommitModeoptionalstringCommitModeoptional*string#The visibility configuration of the Apply button on a `FilterDropDownControl` .
displayOptionsoptionalIResolvable | CfnDashboard.DropDownControlDisplayOptionsPropertydisplay_optionsoptionaltyping.Union[IResolvable, DropDownControlDisplayOptionsProperty]displayOptionsoptionalIResolvableDisplayOptionsoptionalIResolvableDisplayOptionsoptionalinterface{}#The display options of the `FilterDropDownControl` .
filterControlIdstringfilter_control_idstrfilterControlIdStringFilterControlIdstringFilterControlId*stringrequired#The ID of the `FilterDropDownControl` .
selectableValuesoptionalIResolvable | CfnDashboard.FilterSelectableValuesPropertyselectable_valuesoptionaltyping.Union[IResolvable, FilterSelectableValuesProperty]selectableValuesoptionalIResolvableSelectableValuesoptionalIResolvableSelectableValuesoptionalinterface{}#A list of selectable values that are used in a control.
sourceFilterIdstringsource_filter_idstrsourceFilterIdStringSourceFilterIdstringSourceFilterId*stringrequired#The source filter ID of the `FilterDropDownControl` .
The title of the `FilterDropDownControl` .
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.