Class: AWSCDK::QuickSight::CfnAnalysis::StringParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::StringParameterProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A string parameter.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
A display name for a string parameter.
-
#values ⇒ Array<String>
readonly
The values of a string parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, values:) ⇒ StringParameterProperty
constructor
A new instance of StringParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, values:) ⇒ StringParameterProperty
Returns a new instance of StringParameterProperty.
27449 27450 27451 27452 27453 27454 |
# File 'quick_sight/cfn_analysis.rb', line 27449 def initialize(name:, values:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#name ⇒ String (readonly)
A display name for a string parameter.
27460 27461 27462 |
# File 'quick_sight/cfn_analysis.rb', line 27460 def name @name end |
#values ⇒ Array<String> (readonly)
The values of a string parameter.
27465 27466 27467 |
# File 'quick_sight/cfn_analysis.rb', line 27465 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
27467 27468 27469 27470 27471 27472 |
# File 'quick_sight/cfn_analysis.rb', line 27467 def self.jsii_properties { :name => "name", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
27474 27475 27476 27477 27478 27479 27480 27481 |
# File 'quick_sight/cfn_analysis.rb', line 27474 def to_jsii result = {} result.merge!({ "name" => @name, "values" => @values, }) result.compact end |