Class: AWSCDK::QuickSight::CfnTemplate::DefaultFilterDropDownControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DefaultFilterDropDownControlOptionsProperty
- Defined in:
- quick_sight/cfn_template.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.
7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 |
# File 'quick_sight/cfn_template.rb', line 7674 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::CfnTemplate::DropDownControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRyb3BEb3duQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "displayOptions") unless @display_options.nil? @selectable_values = selectable_values.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FilterSelectableValuesProperty.new(**selectable_values.transform_keys(&:to_sym)) : selectable_values Jsii::Type.check_type(@selectable_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZpbHRlclNlbGVjdGFibGVWYWx1ZXNQcm9wZXJ0eSJ9XX19")), "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 .
7689 7690 7691 |
# File 'quick_sight/cfn_template.rb', line 7689 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
7694 7695 7696 |
# File 'quick_sight/cfn_template.rb', line 7694 def @display_options end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
7699 7700 7701 |
# File 'quick_sight/cfn_template.rb', line 7699 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.
7707 7708 7709 |
# File 'quick_sight/cfn_template.rb', line 7707 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
7709 7710 7711 7712 7713 7714 7715 7716 |
# File 'quick_sight/cfn_template.rb', line 7709 def self.jsii_properties { :commit_mode => "commitMode", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 |
# File 'quick_sight/cfn_template.rb', line 7718 def to_jsii result = {} result.merge!({ "commitMode" => @commit_mode, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |