Class: AWSCDK::QuickSight::CfnDashboard::StringParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::StringParameterProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
28487 28488 28489 28490 28491 28492 |
# File 'quick_sight/cfn_dashboard.rb', line 28487 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.
28498 28499 28500 |
# File 'quick_sight/cfn_dashboard.rb', line 28498 def name @name end |
#values ⇒ Array<String> (readonly)
The values of a string parameter.
28503 28504 28505 |
# File 'quick_sight/cfn_dashboard.rb', line 28503 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
28505 28506 28507 28508 28509 28510 |
# File 'quick_sight/cfn_dashboard.rb', line 28505 def self.jsii_properties { :name => "name", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
28512 28513 28514 28515 28516 28517 28518 28519 |
# File 'quick_sight/cfn_dashboard.rb', line 28512 def to_jsii result = {} result.merge!({ "name" => @name, "values" => @values, }) result.compact end |