Class: AWSCDK::QuickSight::CfnDashboard::DropDownControlDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DropDownControlDisplayOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
9310 9311 9312 9313 9314 9315 9316 9317 |
# File 'quick_sight/cfn_dashboard.rb', line 9310 def initialize(info_icon_label_options: nil, select_all_options: nil, title_options: nil) @info_icon_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SheetControlInfoIconLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@info_icon_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TaGVldENvbnRyb2xJbmZvSWNvbkxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "infoIconLabelOptions") unless @info_icon_label_options.nil? @select_all_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ListControlSelectAllOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@select_all_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaXN0Q29udHJvbFNlbGVjdEFsbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "selectAllOptions") unless @select_all_options.nil? @title_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@title_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "titleOptions") unless @title_options.nil? end |
Instance Attribute Details
#info_icon_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of info icon label options.
9323 9324 9325 |
# File 'quick_sight/cfn_dashboard.rb', line 9323 def @info_icon_label_options end |
#select_all_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the Select all options in a dropdown control.
9328 9329 9330 |
# File 'quick_sight/cfn_dashboard.rb', line 9328 def @select_all_options end |
#title_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options to configure the title visibility, name, and font size.
9333 9334 9335 |
# File 'quick_sight/cfn_dashboard.rb', line 9333 def @title_options end |
Class Method Details
.jsii_properties ⇒ Object
9335 9336 9337 9338 9339 9340 9341 |
# File 'quick_sight/cfn_dashboard.rb', line 9335 def self.jsii_properties { :info_icon_label_options => "infoIconLabelOptions", :select_all_options => "selectAllOptions", :title_options => "titleOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
9343 9344 9345 9346 9347 9348 9349 9350 9351 |
# File 'quick_sight/cfn_dashboard.rb', line 9343 def to_jsii result = {} result.merge!({ "infoIconLabelOptions" => @info_icon_label_options, "selectAllOptions" => @select_all_options, "titleOptions" => @title_options, }) result.compact end |