Experimental
@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ComponentStepInputs Class
Represents the inputs for a step in the component document.
Example
ts
const phase: imagebuilder.ComponentDocumentPhase = {
name: imagebuilder.ComponentPhaseName.BUILD,
steps: [
{
name: 'configure-app',
action: imagebuilder.ComponentAction.CREATE_FILE,
inputs: imagebuilder.ComponentStepInputs.fromObject({
path: '/etc/myapp/config.json',
content: '{"env": "production"}'
})
}
]
};
Properties
The rendered input value.
Methods
fromList(inputsObjectList: { [key: string]: any }[]): ComponentStepInputs // chainable@staticmethod def from_list(inputs_object_list: typing.List[typing.Mapping[str, Any]]) -> ComponentStepInputspublic static ComponentStepInputs fromList(List<Map<String, Object>> inputsObjectList)public static ComponentStepInputs FromList(IDictionary<string, object>[] inputsObjectList)func FromList(InputsObjectList *[]*map[string]interface{}) ComponentStepInputsstatic#Creates the input value from a list of input objects, for the component step.
1 parameter
Parameters
inputsObjectListinputs_object_listinputsObjectListinputsObjectListInputsObjectList— The list of objects containing the input values.
fromObject(inputsObject: { [key: string]: any }): ComponentStepInputs // chainable@staticmethod def from_object(inputs_object: typing.Mapping[str, Any]) -> ComponentStepInputspublic static ComponentStepInputs fromObject(Map<String, Object> inputsObject)public static ComponentStepInputs FromObject(IDictionary<string, object> inputsObject)func FromObject(InputsObject *map[string]interface{}) ComponentStepInputsstatic#Creates the input value from an object, for the component step.
1 parameter
Parameters
inputsObjectinputs_objectinputsObjectinputsObjectInputsObject— The object containing the input values.