ComponentParameterValue
- class aws_cdk.aws_imagebuilder_alpha.ComponentParameterValue(value)
Bases:
object(experimental) The parameter value for a component parameter.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
parameterized_component = imagebuilder.Component.from_component_name(self, "ParameterizedComponent", "my-parameterized-component") image_recipe = imagebuilder.ImageRecipe(self, "ParameterizedImageRecipe", base_image=imagebuilder.BaseImage.from_ssm_parameter_name("/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64"), components=[imagebuilder.ComponentConfiguration( component=parameterized_component, parameters={ "environment": imagebuilder.ComponentParameterValue.from_string("production"), "version": imagebuilder.ComponentParameterValue.from_string("1.0.0") } ) ] )
- Parameters:
value (
Sequence[str])- Stability:
experimental
Attributes
- value
(experimental) The rendered parameter value.
- Stability:
experimental
Static Methods
- classmethod from_string(value)
(experimental) The value of the parameter as a string.
- Parameters:
value (
str) – The string value of the parameter.- Stability:
experimental
- Return type: