Class: AWSCDK::QuickSight::CfnTemplate::TextAreaControlDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TextAreaControlDisplayOptionsProperty
- 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.
-
#placeholder_options ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of the placeholder options in a text area 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) ⇒ TextAreaControlDisplayOptionsProperty
constructor
A new instance of TextAreaControlDisplayOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(info_icon_label_options: nil, placeholder_options: nil, title_options: nil) ⇒ TextAreaControlDisplayOptionsProperty
Returns a new instance of TextAreaControlDisplayOptionsProperty.
27307 27308 27309 27310 27311 27312 27313 27314 |
# File 'quick_sight/cfn_template.rb', line 27307 def initialize(info_icon_label_options: nil, placeholder_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? @placeholder_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TextControlPlaceholderOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@placeholder_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRleHRDb250cm9sUGxhY2Vob2xkZXJPcHRpb25zUHJvcGVydHkifV19fQ==")), "placeholderOptions") unless @placeholder_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.
27320 27321 27322 |
# File 'quick_sight/cfn_template.rb', line 27320 def @info_icon_label_options end |
#placeholder_options ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the placeholder options in a text area control.
27325 27326 27327 |
# File 'quick_sight/cfn_template.rb', line 27325 def @placeholder_options end |
#title_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options to configure the title visibility, name, and font size.
27330 27331 27332 |
# File 'quick_sight/cfn_template.rb', line 27330 def @title_options end |
Class Method Details
.jsii_properties ⇒ Object
27332 27333 27334 27335 27336 27337 27338 |
# File 'quick_sight/cfn_template.rb', line 27332 def self.jsii_properties { :info_icon_label_options => "infoIconLabelOptions", :placeholder_options => "placeholderOptions", :title_options => "titleOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
27340 27341 27342 27343 27344 27345 27346 27347 27348 |
# File 'quick_sight/cfn_template.rb', line 27340 def to_jsii result = {} result.merge!({ "infoIconLabelOptions" => @info_icon_label_options, "placeholderOptions" => @placeholder_options, "titleOptions" => @title_options, }) result.compact end |