Class: AWSCDK::ImageBuilder::CfnContainerRecipe::ComponentParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnContainerRecipe::ComponentParameterProperty
- Defined in:
- image_builder/cfn_container_recipe.rb
Overview
Contains a key/value pair that sets the named component parameter.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the component parameter to set.
-
#value ⇒ Array<String>
readonly
Sets the value for the named component parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ ComponentParameterProperty
constructor
A new instance of ComponentParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, value:) ⇒ ComponentParameterProperty
Returns a new instance of ComponentParameterProperty.
798 799 800 801 802 803 |
# File 'image_builder/cfn_container_recipe.rb', line 798 def initialize(name:, value:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "value") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the component parameter to set.
809 810 811 |
# File 'image_builder/cfn_container_recipe.rb', line 809 def name @name end |
#value ⇒ Array<String> (readonly)
Sets the value for the named component parameter.
814 815 816 |
# File 'image_builder/cfn_container_recipe.rb', line 814 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
816 817 818 819 820 821 |
# File 'image_builder/cfn_container_recipe.rb', line 816 def self.jsii_properties { :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
823 824 825 826 827 828 829 830 |
# File 'image_builder/cfn_container_recipe.rb', line 823 def to_jsii result = {} result.merge!({ "name" => @name, "value" => @value, }) result.compact end |