Class ComponentStepInputs

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

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:34.455Z") @Stability(Experimental) public class ComponentStepInputs extends software.amazon.jsii.JsiiObject
(experimental) Represents the inputs for a step in the component document.

Example:

 ComponentDocumentPhase phase = ComponentDocumentPhase.builder()
         .name(ComponentPhaseName.BUILD)
         .steps(List.of(ComponentDocumentStep.builder()
                 .name("configure-app")
                 .action(ComponentAction.CREATE_FILE)
                 .inputs(ComponentStepInputs.fromObject(Map.of(
                         "path", "/etc/myapp/config.json",
                         "content", "{\"env\": \"production\"}")))
                 .build()))
         .build();
 
  • 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
    ComponentStepInputs(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ComponentStepInputs(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromList(List<? extends Map<String,? extends Object>> inputsObjectList)
    (experimental) Creates the input value from a list of input objects, for the component step.
    fromObject(Map<String,? extends Object> inputsObject)
    (experimental) Creates the input value from an object, for the component step.
    (experimental) The rendered input value.

    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

    • ComponentStepInputs

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

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

      @Stability(Experimental) protected ComponentStepInputs(@NotNull Object input)
      Parameters:
      input - This parameter is required.
  • Method Details

    • fromList

      @Stability(Experimental) @NotNull public static ComponentStepInputs fromList(@NotNull List<? extends Map<String,? extends Object>> inputsObjectList)
      (experimental) Creates the input value from a list of input objects, for the component step.

      Parameters:
      inputsObjectList - The list of objects containing the input values. This parameter is required.
    • fromObject

      @Stability(Experimental) @NotNull public static ComponentStepInputs fromObject(@NotNull Map<String,? extends Object> inputsObject)
      (experimental) Creates the input value from an object, for the component step.

      Parameters:
      inputsObject - The object containing the input values. This parameter is required.
    • getInputs

      @Stability(Experimental) @NotNull public Object getInputs()
      (experimental) The rendered input value.