Class: AWSCDK::QuickSight::CfnDashboard::WordCloudChartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::WordCloudChartConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
33309 33310 33311 33312 33313 33314 33315 33316 33317 33318 33319 33320 |
# File 'quick_sight/cfn_dashboard.rb', line 33309 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::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "categoryLabelOptions") unless @category_label_options.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::WordCloudFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Xb3JkQ2xvdWRGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxJbnRlcmFjdGlvbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "interactions") unless @interactions.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::WordCloudSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Xb3JkQ2xvdWRTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "sortConfiguration") unless @sort_configuration.nil? @word_cloud_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::WordCloudOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@word_cloud_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Xb3JkQ2xvdWRPcHRpb25zUHJvcGVydHkifV19fQ==")), "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.
33326 33327 33328 |
# File 'quick_sight/cfn_dashboard.rb', line 33326 def @category_label_options end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
33331 33332 33333 |
# File 'quick_sight/cfn_dashboard.rb', line 33331 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
33336 33337 33338 |
# File 'quick_sight/cfn_dashboard.rb', line 33336 def interactions @interactions end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a word cloud visual.
33341 33342 33343 |
# File 'quick_sight/cfn_dashboard.rb', line 33341 def sort_configuration @sort_configuration end |
#word_cloud_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options for a word cloud visual.
33346 33347 33348 |
# File 'quick_sight/cfn_dashboard.rb', line 33346 def @word_cloud_options end |
Class Method Details
.jsii_properties ⇒ Object
33348 33349 33350 33351 33352 33353 33354 33355 33356 |
# File 'quick_sight/cfn_dashboard.rb', line 33348 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
33358 33359 33360 33361 33362 33363 33364 33365 33366 33367 33368 |
# File 'quick_sight/cfn_dashboard.rb', line 33358 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 |