Class: AWSCDK::QuickSight::CfnDashboard::PluginVisualPropertyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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.



24048
24049
24050
24051
24052
24053
# File 'quick_sight/cfn_dashboard.rb', line 24048

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.



24059
24060
24061
# File 'quick_sight/cfn_dashboard.rb', line 24059

def name
  @name
end

#valueString? (readonly)

The value of the plugin visual property.



24064
24065
24066
# File 'quick_sight/cfn_dashboard.rb', line 24064

def value
  @value
end

Class Method Details

.jsii_propertiesObject



24066
24067
24068
24069
24070
24071
# File 'quick_sight/cfn_dashboard.rb', line 24066

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

Instance Method Details

#to_jsiiObject



24073
24074
24075
24076
24077
24078
24079
24080
# File 'quick_sight/cfn_dashboard.rb', line 24073

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