Reference: Fair-share scheduling policy template - AWS Batch
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Reference: Fair-share scheduling policy template

An empty fair-share scheduling policy template is shown below. You can use this template to create your scheduling policy which can then be saved to a file and used with the AWS CLI --cli-input-json option. For more information about these parameters, see CreateSchedulingPolicy in the AWS Batch API Reference.

Note

You can generate a job queue template with the following AWS CLI command.

$ aws batch create-scheduling-policy --generate-cli-skeleton
{ "name": "", "fairsharePolicy": { "shareDecaySeconds": 0, "computeReservation": 0, "shareDistribution": [ { "shareIdentifier": "", "weightFactor": 0.0 } ] }, "tags": { "KeyName": "" } }