Class: AWSCDK::NimbleStudio::CfnStudioComponent::ScriptParameterKeyValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NimbleStudio::CfnStudioComponent::ScriptParameterKeyValueProperty
- Defined in:
- nimble_studio/cfn_studio_component.rb
Overview
Instance Attribute Summary collapse
- #key ⇒ String? readonly
- #value ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key: nil, value: nil) ⇒ ScriptParameterKeyValueProperty
constructor
A new instance of ScriptParameterKeyValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key: nil, value: nil) ⇒ ScriptParameterKeyValueProperty
Returns a new instance of ScriptParameterKeyValueProperty.
752 753 754 755 756 757 |
# File 'nimble_studio/cfn_studio_component.rb', line 752 def initialize(key: nil, value: nil) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") unless @key.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#key ⇒ String? (readonly)
761 762 763 |
# File 'nimble_studio/cfn_studio_component.rb', line 761 def key @key end |
#value ⇒ String? (readonly)
764 765 766 |
# File 'nimble_studio/cfn_studio_component.rb', line 764 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
766 767 768 769 770 771 |
# File 'nimble_studio/cfn_studio_component.rb', line 766 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
773 774 775 776 777 778 779 780 |
# File 'nimble_studio/cfn_studio_component.rb', line 773 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |