Class: AWSCDK::QuickSight::CfnTemplate::WordCloudChartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::WordCloudChartConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The configuration of a word cloud visual.
Instance Attribute Summary collapse
-
#category_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field wells of the visual.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a word cloud visual.
-
#word_cloud_options ⇒ AWSCDK::IResolvable, ...
readonly
The options for a word cloud visual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, word_cloud_options: nil) ⇒ WordCloudChartConfigurationProperty
constructor
A new instance of WordCloudChartConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, word_cloud_options: nil) ⇒ WordCloudChartConfigurationProperty
Returns a new instance of WordCloudChartConfigurationProperty.
30510 30511 30512 30513 30514 30515 30516 30517 30518 30519 30520 30521 |
# File 'quick_sight/cfn_template.rb', line 30510 def initialize(category_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, word_cloud_options: nil) @category_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "categoryLabelOptions") unless @category_label_options.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::WordCloudFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLldvcmRDbG91ZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::WordCloudSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLldvcmRDbG91ZFNvcnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "sortConfiguration") unless @sort_configuration.nil? @word_cloud_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::WordCloudOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@word_cloud_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLldvcmRDbG91ZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "wordCloudOptions") unless @word_cloud_options.nil? end |
Instance Attribute Details
#category_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
30527 30528 30529 |
# File 'quick_sight/cfn_template.rb', line 30527 def @category_label_options end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
30532 30533 30534 |
# File 'quick_sight/cfn_template.rb', line 30532 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
30537 30538 30539 |
# File 'quick_sight/cfn_template.rb', line 30537 def interactions @interactions end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a word cloud visual.
30542 30543 30544 |
# File 'quick_sight/cfn_template.rb', line 30542 def sort_configuration @sort_configuration end |
#word_cloud_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options for a word cloud visual.
30547 30548 30549 |
# File 'quick_sight/cfn_template.rb', line 30547 def @word_cloud_options end |
Class Method Details
.jsii_properties ⇒ Object
30549 30550 30551 30552 30553 30554 30555 30556 30557 |
# File 'quick_sight/cfn_template.rb', line 30549 def self.jsii_properties { :category_label_options => "categoryLabelOptions", :field_wells => "fieldWells", :interactions => "interactions", :sort_configuration => "sortConfiguration", :word_cloud_options => "wordCloudOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
30559 30560 30561 30562 30563 30564 30565 30566 30567 30568 30569 |
# File 'quick_sight/cfn_template.rb', line 30559 def to_jsii result = {} result.merge!({ "categoryLabelOptions" => @category_label_options, "fieldWells" => @field_wells, "interactions" => @interactions, "sortConfiguration" => @sort_configuration, "wordCloudOptions" => @word_cloud_options, }) result.compact end |