class ComponentStepInputs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.ComponentStepInputs |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#ComponentStepInputs |
Java | software.amazon.awscdk.services.imagebuilder.alpha.ComponentStepInputs |
Python | aws_cdk.aws_imagebuilder_alpha.ComponentStepInputs |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป ComponentStepInputs |
Represents the inputs for a step in the component document.
Example
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"}'
})
}
]
};
Initializer (protected)
super(input: any)
Parameters
- input
any
Properties
| Name | Type | Description |
|---|---|---|
| inputs | any | The rendered input value. |
inputs
Type:
any
The rendered input value.
Methods
| Name | Description |
|---|---|
| static from | Creates the input value from a list of input objects, for the component step. |
| static from | Creates the input value from an object, for the component step. |
static fromList(inputsObjectList)
public static fromList(inputsObjectList: { [string]: any }[]): ComponentStepInputs
Parameters
- inputsObjectList
{ [string]: any }[]โ The list of objects containing the input values.
Returns
Creates the input value from a list of input objects, for the component step.
static fromObject(inputsObject)
public static fromObject(inputsObject: { [string]: any }): ComponentStepInputs
Parameters
- inputsObject
{ [string]: any }โ The object containing the input values.
Returns
Creates the input value from an object, for the component step.

.NET
Go
Java
Python
TypeScript (