Class: AWSCDK::QuickSight::CfnTemplate::PluginVisualPropertyProperty

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

Overview

The key value pair of the persisted property.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, value: nil) ⇒ PluginVisualPropertyProperty

Returns a new instance of PluginVisualPropertyProperty.

Parameters:

  • name (String, nil) (defaults to: nil)

    The name of the plugin visual property.

  • value (String, nil) (defaults to: nil)

    The value of the plugin visual property.



21202
21203
21204
21205
21206
21207
# File 'quick_sight/cfn_template.rb', line 21202

def initialize(name: nil, value: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil?
end

Instance Attribute Details

#nameString? (readonly)

The name of the plugin visual property.



21213
21214
21215
# File 'quick_sight/cfn_template.rb', line 21213

def name
  @name
end

#valueString? (readonly)

The value of the plugin visual property.



21218
21219
21220
# File 'quick_sight/cfn_template.rb', line 21218

def value
  @value
end

Class Method Details

.jsii_propertiesObject



21220
21221
21222
21223
21224
21225
# File 'quick_sight/cfn_template.rb', line 21220

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

Instance Method Details

#to_jsiiObject



21227
21228
21229
21230
21231
21232
21233
21234
# File 'quick_sight/cfn_template.rb', line 21227

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