Class: AWSCDK::QuickSight::CfnDashboard::PluginVisualPropertyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PluginVisualPropertyProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
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
#name ⇒ String? (readonly)
The name of the plugin visual property.
24059 24060 24061 |
# File 'quick_sight/cfn_dashboard.rb', line 24059 def name @name end |
#value ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |