Class: AWSCDK::QuickSight::CfnDashboard::SliderControlDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::SliderControlDisplayOptionsProperty
- 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.
-
#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, title_options: nil) ⇒ SliderControlDisplayOptionsProperty
constructor
A new instance of SliderControlDisplayOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(info_icon_label_options: nil, title_options: nil) ⇒ SliderControlDisplayOptionsProperty
Returns a new instance of SliderControlDisplayOptionsProperty.
27881 27882 27883 27884 27885 27886 |
# File 'quick_sight/cfn_dashboard.rb', line 27881 def initialize(info_icon_label_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? @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.
27892 27893 27894 |
# File 'quick_sight/cfn_dashboard.rb', line 27892 def @info_icon_label_options end |
#title_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options to configure the title visibility, name, and font size.
27897 27898 27899 |
# File 'quick_sight/cfn_dashboard.rb', line 27897 def @title_options end |
Class Method Details
.jsii_properties ⇒ Object
27899 27900 27901 27902 27903 27904 |
# File 'quick_sight/cfn_dashboard.rb', line 27899 def self.jsii_properties { :info_icon_label_options => "infoIconLabelOptions", :title_options => "titleOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
27906 27907 27908 27909 27910 27911 27912 27913 |
# File 'quick_sight/cfn_dashboard.rb', line 27906 def to_jsii result = {} result.merge!({ "infoIconLabelOptions" => @info_icon_label_options, "titleOptions" => @title_options, }) result.compact end |