Skip to content
v2.277.0

Experimental

@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ComponentDocumentForLoop Struct ​

The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables.

The iterating values are in the set [start, end] and includes boundary values.

Example ​

ts
// 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 componentDocumentForLoop: imagebuilder_alpha.ComponentDocumentForLoop = {
  end: 123,
  start: 123,
  updateBy: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha

component_document_for_loop = imagebuilder_alpha.ComponentDocumentForLoop(
    end=123,
    start=123,
    update_by=123
)
java
// 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.*;

ComponentDocumentForLoop componentDocumentForLoop = ComponentDocumentForLoop.builder()
        .end(123)
        .start(123)
        .updateBy(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.ImageBuilder.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder.Alpha;

var componentDocumentForLoop = new ComponentDocumentForLoop {
    End = 123,
    Start = 123,
    UpdateBy = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import imagebuilder_alpha "github.com/aws/aws-cdk-go/awsimagebuilderalpha"

componentDocumentForLoop := &ComponentDocumentForLoop{
	End: jsii.Number(123),
	Start: jsii.Number(123),
	UpdateBy: jsii.Number(123),
}

Properties ​

endnumberendint | floatendNumberEnddoubleEnd*float64 required #
Ending value of iteration.

Does not accept chaining expressions.

startnumberstartint | floatstartNumberStartdoubleStart*float64 required #
Starting value of iteration.

Does not accept chaining expressions.

updateBynumberupdate_byint | floatupdateByNumberUpdateBydoubleUpdateBy*float64 required #
Difference by which an iterating value is updated through addition.

It must be a negative or positive non-zero value. Does not accept chaining expressions.