Class: AWSCDK::QuickSight::CfnDashboard::WordCloudOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::WordCloudOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The word cloud options for a word cloud visual.
Instance Attribute Summary collapse
-
#cloud_layout ⇒ String?
readonly
The cloud layout options (fluid, normal) of a word cloud.
-
#maximum_string_length ⇒ Numeric?
readonly
The length limit of each word from 1-100.
-
#word_casing ⇒ String?
readonly
The word casing options (lower_case, existing_case) for the words in a word cloud.
-
#word_orientation ⇒ String?
readonly
The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud.
-
#word_padding ⇒ String?
readonly
The word padding options (none, small, medium, large) for the words in a word cloud.
-
#word_scaling ⇒ String?
readonly
The word scaling options (emphasize, normal) for the words in a word cloud.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cloud_layout: nil, maximum_string_length: nil, word_casing: nil, word_orientation: nil, word_padding: nil, word_scaling: nil) ⇒ WordCloudOptionsProperty
constructor
A new instance of WordCloudOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cloud_layout: nil, maximum_string_length: nil, word_casing: nil, word_orientation: nil, word_padding: nil, word_scaling: nil) ⇒ WordCloudOptionsProperty
Returns a new instance of WordCloudOptionsProperty.
33418 33419 33420 33421 33422 33423 33424 33425 33426 33427 33428 33429 33430 33431 |
# File 'quick_sight/cfn_dashboard.rb', line 33418 def initialize(cloud_layout: nil, maximum_string_length: nil, word_casing: nil, word_orientation: nil, word_padding: nil, word_scaling: nil) @cloud_layout = cloud_layout Jsii::Type.check_type(@cloud_layout, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cloudLayout") unless @cloud_layout.nil? @maximum_string_length = maximum_string_length Jsii::Type.check_type(@maximum_string_length, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maximumStringLength") unless @maximum_string_length.nil? @word_casing = word_casing Jsii::Type.check_type(@word_casing, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "wordCasing") unless @word_casing.nil? @word_orientation = word_orientation Jsii::Type.check_type(@word_orientation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "wordOrientation") unless @word_orientation.nil? @word_padding = word_padding Jsii::Type.check_type(@word_padding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "wordPadding") unless @word_padding.nil? @word_scaling = word_scaling Jsii::Type.check_type(@word_scaling, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "wordScaling") unless @word_scaling.nil? end |
Instance Attribute Details
#cloud_layout ⇒ String? (readonly)
The cloud layout options (fluid, normal) of a word cloud.
33437 33438 33439 |
# File 'quick_sight/cfn_dashboard.rb', line 33437 def cloud_layout @cloud_layout end |
#maximum_string_length ⇒ Numeric? (readonly)
The length limit of each word from 1-100.
33442 33443 33444 |
# File 'quick_sight/cfn_dashboard.rb', line 33442 def maximum_string_length @maximum_string_length end |
#word_casing ⇒ String? (readonly)
The word casing options (lower_case, existing_case) for the words in a word cloud.
33447 33448 33449 |
# File 'quick_sight/cfn_dashboard.rb', line 33447 def word_casing @word_casing end |
#word_orientation ⇒ String? (readonly)
The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud.
33452 33453 33454 |
# File 'quick_sight/cfn_dashboard.rb', line 33452 def word_orientation @word_orientation end |
#word_padding ⇒ String? (readonly)
The word padding options (none, small, medium, large) for the words in a word cloud.
33457 33458 33459 |
# File 'quick_sight/cfn_dashboard.rb', line 33457 def word_padding @word_padding end |
#word_scaling ⇒ String? (readonly)
The word scaling options (emphasize, normal) for the words in a word cloud.
33462 33463 33464 |
# File 'quick_sight/cfn_dashboard.rb', line 33462 def word_scaling @word_scaling end |
Class Method Details
.jsii_properties ⇒ Object
33464 33465 33466 33467 33468 33469 33470 33471 33472 33473 |
# File 'quick_sight/cfn_dashboard.rb', line 33464 def self.jsii_properties { :cloud_layout => "cloudLayout", :maximum_string_length => "maximumStringLength", :word_casing => "wordCasing", :word_orientation => "wordOrientation", :word_padding => "wordPadding", :word_scaling => "wordScaling", } end |
Instance Method Details
#to_jsii ⇒ Object
33475 33476 33477 33478 33479 33480 33481 33482 33483 33484 33485 33486 |
# File 'quick_sight/cfn_dashboard.rb', line 33475 def to_jsii result = {} result.merge!({ "cloudLayout" => @cloud_layout, "maximumStringLength" => @maximum_string_length, "wordCasing" => @word_casing, "wordOrientation" => @word_orientation, "wordPadding" => @word_padding, "wordScaling" => @word_scaling, }) result.compact end |