Class: AWSCDK::QuickSight::CfnDashboard::DefaultFilterListControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DefaultFilterListControlOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The default options that correspond to the List filter control type.
Instance Attribute Summary collapse
-
#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
DefaultFilterListControlOptions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterListControlOptionsProperty
constructor
A new instance of DefaultFilterListControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterListControlOptionsProperty
Returns a new instance of DefaultFilterListControlOptionsProperty.
8552 8553 8554 8555 8556 8557 8558 8559 |
# File 'quick_sight/cfn_dashboard.rb', line 8552 def initialize(display_options: nil, selectable_values: nil, type: nil) @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ListControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaXN0Q29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "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
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
8565 8566 8567 |
# File 'quick_sight/cfn_dashboard.rb', line 8565 def @display_options end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
8570 8571 8572 |
# File 'quick_sight/cfn_dashboard.rb', line 8570 def selectable_values @selectable_values end |
#type ⇒ String? (readonly)
The type of the DefaultFilterListControlOptions . 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.
8578 8579 8580 |
# File 'quick_sight/cfn_dashboard.rb', line 8578 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
8580 8581 8582 8583 8584 8585 8586 |
# File 'quick_sight/cfn_dashboard.rb', line 8580 def self.jsii_properties { :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
8588 8589 8590 8591 8592 8593 8594 8595 8596 |
# File 'quick_sight/cfn_dashboard.rb', line 8588 def to_jsii result = {} result.merge!({ "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |