Class: AWSCDK::QuickSight::CfnDashboard::StringParameterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

A string parameter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, values:) ⇒ StringParameterProperty

Returns a new instance of StringParameterProperty.

Parameters:

  • name (String)

    A display name for a string parameter.

  • values (Array<String>)

    The values of a string parameter.



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

#nameString (readonly)

A display name for a string parameter.



28498
28499
28500
# File 'quick_sight/cfn_dashboard.rb', line 28498

def name
  @name
end

#valuesArray<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_propertiesObject



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_jsiiObject



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