Class: AWSCDK::QuickSight::CfnTemplate::DropDownControlDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DropDownControlDisplayOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The display options of a control.
Instance Attribute Summary collapse
-
#info_icon_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of info icon label options.
-
#select_all_options ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of the
Select alloptions in a dropdown control. -
#title_options ⇒ AWSCDK::IResolvable, ...
readonly
The options to configure the title visibility, name, and font size.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(info_icon_label_options: nil, select_all_options: nil, title_options: nil) ⇒ DropDownControlDisplayOptionsProperty
constructor
A new instance of DropDownControlDisplayOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(info_icon_label_options: nil, select_all_options: nil, title_options: nil) ⇒ DropDownControlDisplayOptionsProperty
Returns a new instance of DropDownControlDisplayOptionsProperty.
8497 8498 8499 8500 8501 8502 8503 8504 |
# File 'quick_sight/cfn_template.rb', line 8497 def initialize(info_icon_label_options: nil, select_all_options: nil, title_options: nil) @info_icon_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::SheetControlInfoIconLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@info_icon_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNoZWV0Q29udHJvbEluZm9JY29uTGFiZWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "infoIconLabelOptions") unless @info_icon_label_options.nil? @select_all_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ListControlSelectAllOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@select_all_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpc3RDb250cm9sU2VsZWN0QWxsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "selectAllOptions") unless @select_all_options.nil? @title_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@title_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "titleOptions") unless @title_options.nil? end |
Instance Attribute Details
#info_icon_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of info icon label options.
8510 8511 8512 |
# File 'quick_sight/cfn_template.rb', line 8510 def @info_icon_label_options end |
#select_all_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the Select all options in a dropdown control.
8515 8516 8517 |
# File 'quick_sight/cfn_template.rb', line 8515 def @select_all_options end |
#title_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options to configure the title visibility, name, and font size.
8520 8521 8522 |
# File 'quick_sight/cfn_template.rb', line 8520 def @title_options end |
Class Method Details
.jsii_properties ⇒ Object
8522 8523 8524 8525 8526 8527 8528 |
# File 'quick_sight/cfn_template.rb', line 8522 def self.jsii_properties { :info_icon_label_options => "infoIconLabelOptions", :select_all_options => "selectAllOptions", :title_options => "titleOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
8530 8531 8532 8533 8534 8535 8536 8537 8538 |
# File 'quick_sight/cfn_template.rb', line 8530 def to_jsii result = {} result.merge!({ "infoIconLabelOptions" => @info_icon_label_options, "selectAllOptions" => @select_all_options, "titleOptions" => @title_options, }) result.compact end |