Class: AWSCDK::ImageBuilder::CfnImageRecipe::ComponentParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnImageRecipe::ComponentParameterProperty
- Defined in:
- image_builder/cfn_image_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.
789 790 791 792 793 794 |
# File 'image_builder/cfn_image_recipe.rb', line 789 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.
800 801 802 |
# File 'image_builder/cfn_image_recipe.rb', line 800 def name @name end |
#value ⇒ Array<String> (readonly)
Sets the value for the named component parameter.
805 806 807 |
# File 'image_builder/cfn_image_recipe.rb', line 805 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
807 808 809 810 811 812 |
# File 'image_builder/cfn_image_recipe.rb', line 807 def self.jsii_properties { :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
814 815 816 817 818 819 820 821 |
# File 'image_builder/cfn_image_recipe.rb', line 814 def to_jsii result = {} result.merge!({ "name" => @name, "value" => @value, }) result.compact end |