Class: AWSCDK::QuickSight::CfnDashboard::TextFieldControlDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TextFieldControlDisplayOptionsProperty
- 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.
-
#placeholder_options ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of the placeholder options in a text field 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, placeholder_options: nil, title_options: nil) ⇒ TextFieldControlDisplayOptionsProperty
constructor
A new instance of TextFieldControlDisplayOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(info_icon_label_options: nil, placeholder_options: nil, title_options: nil) ⇒ TextFieldControlDisplayOptionsProperty
Returns a new instance of TextFieldControlDisplayOptionsProperty.
30202 30203 30204 30205 30206 30207 30208 30209 |
# File 'quick_sight/cfn_dashboard.rb', line 30202 def initialize(info_icon_label_options: nil, placeholder_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? @placeholder_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TextControlPlaceholderOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@placeholder_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UZXh0Q29udHJvbFBsYWNlaG9sZGVyT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "placeholderOptions") unless @placeholder_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.
30215 30216 30217 |
# File 'quick_sight/cfn_dashboard.rb', line 30215 def @info_icon_label_options end |
#placeholder_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the placeholder options in a text field control.
30220 30221 30222 |
# File 'quick_sight/cfn_dashboard.rb', line 30220 def @placeholder_options end |
#title_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options to configure the title visibility, name, and font size.
30225 30226 30227 |
# File 'quick_sight/cfn_dashboard.rb', line 30225 def @title_options end |
Class Method Details
.jsii_properties ⇒ Object
30227 30228 30229 30230 30231 30232 30233 |
# File 'quick_sight/cfn_dashboard.rb', line 30227 def self.jsii_properties { :info_icon_label_options => "infoIconLabelOptions", :placeholder_options => "placeholderOptions", :title_options => "titleOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
30235 30236 30237 30238 30239 30240 30241 30242 30243 |
# File 'quick_sight/cfn_dashboard.rb', line 30235 def to_jsii result = {} result.merge!({ "infoIconLabelOptions" => @info_icon_label_options, "placeholderOptions" => @placeholder_options, "titleOptions" => @title_options, }) result.compact end |