interface ComponentDocumentLoop
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.ComponentDocumentLoop |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#ComponentDocumentLoop |
Java | software.amazon.awscdk.services.imagebuilder.alpha.ComponentDocumentLoop |
Python | aws_cdk.aws_imagebuilder_alpha.ComponentDocumentLoop |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป ComponentDocumentLoop |
The looping construct of a component defines a repeated sequence of instructions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const componentDocumentLoop: imagebuilder_alpha.ComponentDocumentLoop = {
for: {
end: 123,
start: 123,
updateBy: 123,
},
forEach: ['forEach'],
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| for? | Component | The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables. |
| for | string[] | The forEach loop iterates on an explicit list of values, which can be strings and chained expressions. |
| name? | string | The name of the loop, which can be used to reference. |
for?
Type:
Component
(optional, default: none if forEach is provided. otherwise, for is required.)
The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables.
forEach?
Type:
string[]
(optional, default: none if for is provided. otherwise, forEach is required.)
The forEach loop iterates on an explicit list of values, which can be strings and chained expressions.
name?
Type:
string
(optional, default: loop)
The name of the loop, which can be used to reference.

.NET
Go
Java
Python
TypeScript (