Class: AWSCDK::QuickSight::CfnAnalysis::WordCloudChartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::WordCloudChartConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
32238 32239 32240 32241 32242 32243 32244 32245 32246 32247 32248 32249 |
# File 'quick_sight/cfn_analysis.rb', line 32238 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::CfnAnalysis::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "categoryLabelOptions") unless @category_label_options.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::WordCloudFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLldvcmRDbG91ZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::WordCloudSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLldvcmRDbG91ZFNvcnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "sortConfiguration") unless @sort_configuration.nil? @word_cloud_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::WordCloudOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@word_cloud_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLldvcmRDbG91ZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "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.
32255 32256 32257 |
# File 'quick_sight/cfn_analysis.rb', line 32255 def @category_label_options end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
32260 32261 32262 |
# File 'quick_sight/cfn_analysis.rb', line 32260 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
32265 32266 32267 |
# File 'quick_sight/cfn_analysis.rb', line 32265 def interactions @interactions end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a word cloud visual.
32270 32271 32272 |
# File 'quick_sight/cfn_analysis.rb', line 32270 def sort_configuration @sort_configuration end |
#word_cloud_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options for a word cloud visual.
32275 32276 32277 |
# File 'quick_sight/cfn_analysis.rb', line 32275 def @word_cloud_options end |
Class Method Details
.jsii_properties ⇒ Object
32277 32278 32279 32280 32281 32282 32283 32284 32285 |
# File 'quick_sight/cfn_analysis.rb', line 32277 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
32287 32288 32289 32290 32291 32292 32293 32294 32295 32296 32297 |
# File 'quick_sight/cfn_analysis.rb', line 32287 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 |