Class ComponentParameterValue
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.ComponentParameterValue
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.017Z")
@Stability(Experimental)
public class ComponentParameterValue
extends software.amazon.jsii.JsiiObject
(experimental) The parameter value for a component parameter.
Example:
IComponent parameterizedComponent = Component.fromComponentName(this, "ParameterizedComponent", "my-parameterized-component");
ImageRecipe imageRecipe = ImageRecipe.Builder.create(this, "ParameterizedImageRecipe")
.baseImage(BaseImage.fromSsmParameterName("/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64"))
.components(List.of(ComponentConfiguration.builder()
.component(parameterizedComponent)
.parameters(Map.of(
"environment", ComponentParameterValue.fromString("production"),
"version", ComponentParameterValue.fromString("1.0.0")))
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedComponentParameterValue(List<String> value) protectedComponentParameterValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedComponentParameterValue(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentParameterValuefromString(String value) (experimental) The value of the parameter as a string.getValue()(experimental) The rendered parameter value.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ComponentParameterValue
protected ComponentParameterValue(software.amazon.jsii.JsiiObjectRef objRef) -
ComponentParameterValue
protected ComponentParameterValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ComponentParameterValue
- Parameters:
value- This parameter is required.
-
-
Method Details
-
fromString
@Stability(Experimental) @NotNull public static ComponentParameterValue fromString(@NotNull String value) (experimental) The value of the parameter as a string.- Parameters:
value- The string value of the parameter. This parameter is required.
-
getValue
(experimental) The rendered parameter value.
-