Skip to content
v2.278.0

BatchArrayPropertiesProperty Struct ​

The array properties for the submitted job, such as the size of the array.

The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const batchArrayPropertiesProperty: events.CfnRule.BatchArrayPropertiesProperty = {
  size: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_events as events

batch_array_properties_property = events.CfnRule.BatchArrayPropertiesProperty(
    size=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.events.*;

BatchArrayPropertiesProperty batchArrayPropertiesProperty = BatchArrayPropertiesProperty.builder()
        .size(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;

var batchArrayPropertiesProperty = new BatchArrayPropertiesProperty {
    Size = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

batchArrayPropertiesProperty := &BatchArrayPropertiesProperty{
	Size: jsii.Number(123),
}

Properties ​

sizeoptionalnumbersizeoptionalint | floatsizeoptionalNumberSizeoptionaldoubleSizeoptional*float64 #
The size of the array, if this is an array batch job.

Valid values are integers between 2 and 10,000.