Class: AWSCDK::QuickSight::CfnDashboard::IntegerParameterProperty

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

Overview

An integer parameter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, values:) ⇒ IntegerParameterProperty

Returns a new instance of IntegerParameterProperty.

Parameters:

  • name (String)

    The name of the integer parameter.

  • values (Array<Numeric>, AWSCDK::IResolvable)

    The values for the integer parameter.



17177
17178
17179
17180
17181
17182
# File 'quick_sight/cfn_dashboard.rb', line 17177

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siY29sbGVjdGlvbiI6eyJlbGVtZW50dHlwZSI6eyJwcmltaXRpdmUiOiJudW1iZXIifSwia2luZCI6ImFycmF5In19LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "values")
end

Instance Attribute Details

#nameString (readonly)

The name of the integer parameter.



17188
17189
17190
# File 'quick_sight/cfn_dashboard.rb', line 17188

def name
  @name
end

#valuesArray<Numeric>, AWSCDK::IResolvable (readonly)

The values for the integer parameter.



17193
17194
17195
# File 'quick_sight/cfn_dashboard.rb', line 17193

def values
  @values
end

Class Method Details

.jsii_propertiesObject



17195
17196
17197
17198
17199
17200
# File 'quick_sight/cfn_dashboard.rb', line 17195

def self.jsii_properties
  {
    :name => "name",
    :values => "values",
  }
end

Instance Method Details

#to_jsiiObject



17202
17203
17204
17205
17206
17207
17208
17209
# File 'quick_sight/cfn_dashboard.rb', line 17202

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "values" => @values,
  })
  result.compact
end