Posted On: Nov 9, 2023

AWS Batch now exposes array size as a container environment variable of an array child job. With this feature, customers can use array size in the logic of their applications (e.g. to divide data between jobs for parallel processing).

AWS Batch customers can now access array size via AWS_BATCH_JOB_ARRAY_SIZE environment variable. Visit job environment variables page of AWS Batch user guide for more details.

Array size environment variable is now supported in all AWS Regions where AWS Batch is currently available. To learn more about AWS Batch, see the AWS Batch User Guide.