Scheduling policy template - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Scheduling policy template

An empty 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 Amazon CLI --cli-input-json option. For more information about these parameters, see CreateSchedulingPolicy in the Amazon Batch API Reference.

{ "name": "", "fairsharePolicy": { "shareDecaySeconds": 0, "computeReservation": 0, "shareDistribution": [ { "shareIdentifier": "", "weightFactor": 0.0 } ] }, "tags": { "KeyName": "" } }

You can generate the preceding job queue template with the following Amazon CLI command.

$ aws batch create-scheduling-policy --generate-cli-skeleton