Class: AWSCDK::ImageBuilder::CfnContainerRecipe::ComponentParameterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
image_builder/cfn_container_recipe.rb

Overview

Contains a key/value pair that sets the named component parameter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, value:) ⇒ ComponentParameterProperty

Returns a new instance of ComponentParameterProperty.

Parameters:

  • name (String)

    The name of the component parameter to set.

  • value (Array<String>)

    Sets the value for the named component parameter.



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

#nameString (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

#valueArray<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_propertiesObject



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_jsiiObject



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