FilterListControlProperty Struct
A control to display a list of buttons or boxes.
This is used to select either a single value or multiple 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 filterListControlProperty: quicksight.CfnAnalysis.FilterListControlProperty = {
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',
}],
},
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',
};
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_list_control_property = quicksight.CfnAnalysis.FilterListControlProperty(
filter_control_id="filterControlId",
source_filter_id="sourceFilterId",
title="title",
# the properties below are optional
cascading_control_configuration=quicksight.CfnAnalysis.CascadingControlConfigurationProperty(
source_controls=[quicksight.CfnAnalysis.CascadingControlSourceProperty(
column_to_match=quicksight.CfnAnalysis.ColumnIdentifierProperty(
column_name="columnName",
# the properties below are optional
data_set_identifier="dataSetIdentifier",
topic_identifier="topicIdentifier"
),
source_sheet_control_id="sourceSheetControlId"
)]
),
display_options=quicksight.CfnAnalysis.ListControlDisplayOptionsProperty(
info_icon_label_options=quicksight.CfnAnalysis.SheetControlInfoIconLabelOptionsProperty(
info_icon_text="infoIconText",
visibility="visibility"
),
search_options=quicksight.CfnAnalysis.ListControlSearchOptionsProperty(
visibility="visibility"
),
select_all_options=quicksight.CfnAnalysis.ListControlSelectAllOptionsProperty(
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"
)
),
selectable_values=quicksight.CfnAnalysis.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.*;
FilterListControlProperty filterListControlProperty = FilterListControlProperty.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())
.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();
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 filterListControlProperty = new FilterListControlProperty {
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"
} }
},
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"
};
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"
filterListControlProperty := &FilterListControlProperty{
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"),
},
},
},
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"),
}
Properties
cascadingControlConfigurationoptionalIResolvable | CfnAnalysis.cascading_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.
displayOptionsoptionalIResolvable | CfnAnalysis.display_optionsoptionaltyping.Union[IResolvable, ListControlDisplayOptionsProperty]displayOptionsoptionalIResolvableDisplayOptionsoptionalIResolvableDisplayOptionsoptionalinterface{} #The display options of a control.
filterControlIdstringfilter_control_idstrfilterControlIdStringFilterControlIdstringFilterControlId*string required #The ID of the `FilterListControl` .
selectableValuesoptionalIResolvable | CfnAnalysis.selectable_valuesoptionaltyping.Union[IResolvable, FilterSelectableValuesProperty]selectableValuesoptionalIResolvableSelectableValuesoptionalIResolvableSelectableValuesoptionalinterface{} #A list of selectable values that are used in a control.
sourceFilterIdstringsource_filter_idstrsourceFilterIdStringSourceFilterIdstringSourceFilterId*string required #The source filter ID of the `FilterListControl` .
The title of the `FilterListControl` .
The type of the `FilterListControl` . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from the list.SINGLE_SELECT: The user can select a single entry from the list.