Class: AWSCDK::QuickSight::CfnTemplate::ListControlDisplayOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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, search_options: nil, select_all_options: nil, title_options: nil) ⇒ ListControlDisplayOptionsProperty

Returns a new instance of ListControlDisplayOptionsProperty.

Parameters:



16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
# File 'quick_sight/cfn_template.rb', line 16561

def initialize(info_icon_label_options: nil, search_options: nil, select_all_options: nil, title_options: nil)
  @info_icon_label_options = info_icon_label_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNoZWV0Q29udHJvbEluZm9JY29uTGFiZWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "infoIconLabelOptions") unless @info_icon_label_options.nil?
  @search_options = search_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ListControlSearchOptionsProperty.new(**search_options.transform_keys(&:to_sym)) : search_options
  Jsii::Type.check_type(@search_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpc3RDb250cm9sU2VhcmNoT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "searchOptions") unless @search_options.nil?
  @select_all_options = select_all_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ListControlSelectAllOptionsProperty.new(**select_all_options.transform_keys(&:to_sym)) : select_all_options
  Jsii::Type.check_type(@select_all_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpc3RDb250cm9sU2VsZWN0QWxsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "selectAllOptions") unless @select_all_options.nil?
  @title_options = title_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LabelOptionsProperty.new(**title_options.transform_keys(&:to_sym)) : title_options
  Jsii::Type.check_type(@title_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "titleOptions") unless @title_options.nil?
end

Instance Attribute Details

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

The configuration of info icon label options.



16576
16577
16578
# File 'quick_sight/cfn_template.rb', line 16576

def info_icon_label_options
  @info_icon_label_options
end

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

The configuration of the search options in a list control.



16581
16582
16583
# File 'quick_sight/cfn_template.rb', line 16581

def search_options
  @search_options
end

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

The configuration of the Select all options in a list control.



16586
16587
16588
# File 'quick_sight/cfn_template.rb', line 16586

def select_all_options
  @select_all_options
end

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

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



16591
16592
16593
# File 'quick_sight/cfn_template.rb', line 16591

def title_options
  @title_options
end

Class Method Details

.jsii_propertiesObject



16593
16594
16595
16596
16597
16598
16599
16600
# File 'quick_sight/cfn_template.rb', line 16593

def self.jsii_properties
  {
    :info_icon_label_options => "infoIconLabelOptions",
    :search_options => "searchOptions",
    :select_all_options => "selectAllOptions",
    :title_options => "titleOptions",
  }
end

Instance Method Details

#to_jsiiObject



16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
# File 'quick_sight/cfn_template.rb', line 16602

def to_jsii
  result = {}
  result.merge!({
    "infoIconLabelOptions" => @info_icon_label_options,
    "searchOptions" => @search_options,
    "selectAllOptions" => @select_all_options,
    "titleOptions" => @title_options,
  })
  result.compact
end