Class: AWSCDK::ImageBuilder::CfnContainerRecipe::ComponentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnContainerRecipe::ComponentConfigurationProperty
- Defined in:
- image_builder/cfn_container_recipe.rb
Overview
Configuration details of the component.
Instance Attribute Summary collapse
-
#component_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the component.
-
#parameters ⇒ AWSCDK::IResolvable, ...
readonly
A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(component_arn: nil, parameters: nil) ⇒ ComponentConfigurationProperty
constructor
A new instance of ComponentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(component_arn: nil, parameters: nil) ⇒ ComponentConfigurationProperty
Returns a new instance of ComponentConfigurationProperty.
755 756 757 758 759 760 |
# File 'image_builder/cfn_container_recipe.rb', line 755 def initialize(component_arn: nil, parameters: nil) @component_arn = component_arn Jsii::Type.check_type(@component_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "componentArn") unless @component_arn.nil? @parameters = parameters Jsii::Type.check_type(@parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW1hZ2VidWlsZGVyLkNmbkNvbnRhaW5lclJlY2lwZS5Db21wb25lbnRQYXJhbWV0ZXJQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "parameters") unless @parameters.nil? end |
Instance Attribute Details
#component_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the component.
766 767 768 |
# File 'image_builder/cfn_container_recipe.rb', line 766 def component_arn @component_arn end |
#parameters ⇒ AWSCDK::IResolvable, ... (readonly)
A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
771 772 773 |
# File 'image_builder/cfn_container_recipe.rb', line 771 def parameters @parameters end |
Class Method Details
.jsii_properties ⇒ Object
773 774 775 776 777 778 |
# File 'image_builder/cfn_container_recipe.rb', line 773 def self.jsii_properties { :component_arn => "componentArn", :parameters => "parameters", } end |
Instance Method Details
#to_jsii ⇒ Object
780 781 782 783 784 785 786 787 |
# File 'image_builder/cfn_container_recipe.rb', line 780 def to_jsii result = {} result.merge!({ "componentArn" => @component_arn, "parameters" => @parameters, }) result.compact end |