ComponentStepInputs

class aws_cdk.aws_imagebuilder_alpha.ComponentStepInputs(input)

Bases: object

(experimental) Represents the inputs for a step in the component document.

Stability:

experimental

ExampleMetadata:

infused

Example:

phase = imagebuilder.ComponentDocumentPhase(
    name=imagebuilder.ComponentPhaseName.BUILD,
    steps=[imagebuilder.ComponentDocumentStep(
        name="configure-app",
        action=imagebuilder.ComponentAction.CREATE_FILE,
        inputs=imagebuilder.ComponentStepInputs.from_object({
            "path": "/etc/myapp/config.json",
            "content": "{"env": "production"}"
        })
    )
    ]
)
Parameters:

input (Any)

Stability:

experimental

Attributes

inputs

(experimental) The rendered input value.

Stability:

experimental

Static Methods

classmethod from_list(inputs_object_list)

(experimental) Creates the input value from a list of input objects, for the component step.

Parameters:

inputs_object_list (Sequence[Mapping[str, Any]]) – The list of objects containing the input values.

Stability:

experimental

Return type:

ComponentStepInputs

classmethod from_object(inputs_object)

(experimental) Creates the input value from an object, for the component step.

Parameters:

inputs_object (Mapping[str, Any]) – The object containing the input values.

Stability:

experimental

Return type:

ComponentStepInputs