Interface ComponentDocumentLoop
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComponentDocumentLoop.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.441Z")
@Stability(Experimental)
public interface ComponentDocumentLoop
extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.imagebuilder.alpha.*;
ComponentDocumentLoop componentDocumentLoop = ComponentDocumentLoop.builder()
.for(ComponentDocumentForLoop.builder()
.end(123)
.start(123)
.updateBy(123)
.build())
.forEach(List.of("forEach"))
.name("name")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forComponentDocumentLoopstatic final classAn implementation forComponentDocumentLoop -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) The forEach loop iterates on an explicit list of values, which can be strings and chained expressions.default ComponentDocumentForLoop(experimental) The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables.default StringgetName()(experimental) The name of the loop, which can be used to reference.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getForValue
(experimental) The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables.Default: - none if `forEach` is provided. otherwise, `for` is required.
-
getForEach
(experimental) The forEach loop iterates on an explicit list of values, which can be strings and chained expressions.Default: - none if `for` is provided. otherwise, `forEach` is required.
-
getName
(experimental) The name of the loop, which can be used to reference.Default: loop
-
builder
- Returns:
- a
ComponentDocumentLoop.BuilderofComponentDocumentLoop
-