Class: AWSCDK::QuickSight::CfnDashboard::TextAreaControlDisplayOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The display options of a control.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(info_icon_label_options: nil, placeholder_options: nil, title_options: nil) ⇒ TextAreaControlDisplayOptionsProperty

Returns a new instance of TextAreaControlDisplayOptionsProperty.

Parameters:



30063
30064
30065
30066
30067
30068
30069
30070
# File 'quick_sight/cfn_dashboard.rb', line 30063

def initialize(info_icon_label_options: nil, placeholder_options: nil, title_options: nil)
  @info_icon_label_options = info_icon_label_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SheetControlInfoIconLabelOptionsProperty.new(**info_icon_label_options.transform_keys(&:to_sym)) : info_icon_label_options
  Jsii::Type.check_type(@info_icon_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TaGVldENvbnRyb2xJbmZvSWNvbkxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "infoIconLabelOptions") unless @info_icon_label_options.nil?
  @placeholder_options = placeholder_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TextControlPlaceholderOptionsProperty.new(**placeholder_options.transform_keys(&:to_sym)) : placeholder_options
  Jsii::Type.check_type(@placeholder_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UZXh0Q29udHJvbFBsYWNlaG9sZGVyT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "placeholderOptions") unless @placeholder_options.nil?
  @title_options = title_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LabelOptionsProperty.new(**title_options.transform_keys(&:to_sym)) : title_options
  Jsii::Type.check_type(@title_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "titleOptions") unless @title_options.nil?
end

Instance Attribute Details

#info_icon_label_optionsAWSCDK::IResolvable, ... (readonly)

The configuration of info icon label options.



30076
30077
30078
# File 'quick_sight/cfn_dashboard.rb', line 30076

def info_icon_label_options
  @info_icon_label_options
end

#placeholder_optionsAWSCDK::IResolvable, ... (readonly)

The configuration of the placeholder options in a text area control.



30081
30082
30083
# File 'quick_sight/cfn_dashboard.rb', line 30081

def placeholder_options
  @placeholder_options
end

#title_optionsAWSCDK::IResolvable, ... (readonly)

The options to configure the title visibility, name, and font size.



30086
30087
30088
# File 'quick_sight/cfn_dashboard.rb', line 30086

def title_options
  @title_options
end

Class Method Details

.jsii_propertiesObject



30088
30089
30090
30091
30092
30093
30094
# File 'quick_sight/cfn_dashboard.rb', line 30088

def self.jsii_properties
  {
    :info_icon_label_options => "infoIconLabelOptions",
    :placeholder_options => "placeholderOptions",
    :title_options => "titleOptions",
  }
end

Instance Method Details

#to_jsiiObject



30096
30097
30098
30099
30100
30101
30102
30103
30104
# File 'quick_sight/cfn_dashboard.rb', line 30096

def to_jsii
  result = {}
  result.merge!({
    "infoIconLabelOptions" => @info_icon_label_options,
    "placeholderOptions" => @placeholder_options,
    "titleOptions" => @title_options,
  })
  result.compact
end