Class: AWSCDK::QuickSight::CfnDashboard::DefaultFilterDropDownControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DefaultFilterDropDownControlOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The default options that correspond to the Dropdown filter control type.
Instance Attribute Summary collapse
-
#commit_mode ⇒ String?
readonly
The visibility configuration of the Apply button on a
FilterDropDownControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#selectable_values ⇒ AWSCDK::IResolvable, ...
readonly
A list of selectable values that are used in a control.
-
#type ⇒ String?
readonly
The type of the
FilterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterDropDownControlOptionsProperty
constructor
A new instance of DefaultFilterDropDownControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterDropDownControlOptionsProperty
Returns a new instance of DefaultFilterDropDownControlOptionsProperty.
8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 |
# File 'quick_sight/cfn_dashboard.rb', line 8487 def initialize(commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) @commit_mode = commit_mode Jsii::Type.check_type(@commit_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "commitMode") unless @commit_mode.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DropDownControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Ecm9wRG93bkNvbnRyb2xEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "displayOptions") unless @display_options.nil? @selectable_values = selectable_values.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FilterSelectableValuesProperty.new(**selectable_values.transform_keys(&:to_sym)) : selectable_values Jsii::Type.check_type(@selectable_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWx0ZXJTZWxlY3RhYmxlVmFsdWVzUHJvcGVydHkifV19fQ==")), "selectableValues") unless @selectable_values.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#commit_mode ⇒ String? (readonly)
The visibility configuration of the Apply button on a FilterDropDownControl .
8502 8503 8504 |
# File 'quick_sight/cfn_dashboard.rb', line 8502 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
8507 8508 8509 |
# File 'quick_sight/cfn_dashboard.rb', line 8507 def @display_options end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
8512 8513 8514 |
# File 'quick_sight/cfn_dashboard.rb', line 8512 def selectable_values @selectable_values end |
#type ⇒ String? (readonly)
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.
8520 8521 8522 |
# File 'quick_sight/cfn_dashboard.rb', line 8520 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
8522 8523 8524 8525 8526 8527 8528 8529 |
# File 'quick_sight/cfn_dashboard.rb', line 8522 def self.jsii_properties { :commit_mode => "commitMode", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 |
# File 'quick_sight/cfn_dashboard.rb', line 8531 def to_jsii result = {} result.merge!({ "commitMode" => @commit_mode, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |