# DefaultFilterDropDownControlOptionsProperty

The default options that correspond to the `Dropdown` filter control type.

- Source: Generated at build time
- Type last changed: v2.161.0 · 4 Oct 2024

## Example

TypeScript:

```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 defaultFilterDropDownControlOptionsProperty: quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty = {
  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:

```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_filter_drop_down_control_options_property = quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty(
    commit_mode="commitMode",
    display_options=quicksight.CfnAnalysis.DropDownControlDisplayOptionsProperty(
        info_icon_label_options=quicksight.CfnAnalysis.SheetControlInfoIconLabelOptionsProperty(
            info_icon_text="infoIconText",
            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:

```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.*;

DefaultFilterDropDownControlOptionsProperty defaultFilterDropDownControlOptionsProperty = 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();
```

C# / .NET:

```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 defaultFilterDropDownControlOptionsProperty = 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"
};
```

Golang:

```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"

defaultFilterDropDownControlOptionsProperty := &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"),
}
```

## Properties

- `commitMode`: string — The visibility configuration of the Apply button on a `FilterDropDownControl` .

- `displayOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DropDownControlDisplayOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DropDownControlDisplayOptionsProperty.html) — The display options of a control.

- `selectableValues`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.FilterSelectableValuesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.FilterSelectableValuesProperty.html) — A list of selectable values that are used in a control.

- `type`: string — 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.
