Class: AWSCDK::QuickSight::CfnTemplate::PluginVisualPropertyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PluginVisualPropertyProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The key value pair of the persisted property.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name of the plugin visual property.
-
#value ⇒ String?
readonly
The value of the plugin visual property.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ PluginVisualPropertyProperty
constructor
A new instance of PluginVisualPropertyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, value: nil) ⇒ PluginVisualPropertyProperty
Returns a new instance of PluginVisualPropertyProperty.
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
#name ⇒ String? (readonly)
The name of the plugin visual property.
21213 21214 21215 |
# File 'quick_sight/cfn_template.rb', line 21213 def name @name end |
#value ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |