Class ComponentConstantValue

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.ComponentConstantValue
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:34.439Z") @Stability(Experimental) public class ComponentConstantValue extends software.amazon.jsii.JsiiObject
(experimental) The value of a constant in a component document.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.imagebuilder.alpha.*;
 ComponentConstantValue componentConstantValue = ComponentConstantValue.fromString("value");
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    ComponentConstantValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ComponentConstantValue(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Creates a string type constant in a component document.
    (experimental) The data type of the constant.
    (experimental) The value of the constant.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ComponentConstantValue

      protected ComponentConstantValue(software.amazon.jsii.JsiiObjectRef objRef)
    • ComponentConstantValue

      protected ComponentConstantValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ComponentConstantValue

      @Stability(Experimental) protected ComponentConstantValue(@NotNull String type, @NotNull Object value)
      Parameters:
      type - This parameter is required.
      value - This parameter is required.
  • Method Details

    • fromString

      @Stability(Experimental) @NotNull public static ComponentConstantValue fromString(@NotNull String value)
      (experimental) Creates a string type constant in a component document.

      Parameters:
      value - The value of the constant. This parameter is required.
    • getType

      @Stability(Experimental) @NotNull public String getType()
      (experimental) The data type of the constant.
    • getValue

      @Stability(Experimental) @NotNull public Object getValue()
      (experimental) The value of the constant.