Scheduling policies - 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 policies

You can use scheduling policies to configure how compute resources in a job queue are allocated between users or workloads. Using scheduling policies, you can assign different fair share identifiers to workloads or users. Amazon Batch assigns each fair share identifier a percentage of the total resources that are available during a period of time.

The fair share percentage is calculated using the shareDecaySeconds and shareDistribution values. You can add time to the fair share analysis by assigning a share decay time to the policy. Adding time gives more weight to time and less to the defined weight. You can hold compute resources in reserve for fair share identifiers that aren't active by specifying a compute reservation. For more information, see Scheduling policy parameters.