# CfnSchedulingPolicyProps

Properties for defining a `CfnSchedulingPolicy`.

Extends: CfnSchedulingPolicyProps
Used as props by: CfnSchedulingPolicy

- Source: Generated code
- Type last changed: v2.245.0 · 27 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const cfnSchedulingPolicyProps: batch.CfnSchedulingPolicyProps = {
  fairsharePolicy: {
    computeReservation: 123,
    shareDecaySeconds: 123,
    shareDistribution: [{
      shareIdentifier: 'shareIdentifier',
      weightFactor: 123,
    }],
  },
  name: 'name',
  quotaSharePolicy: {
    idleResourceAssignmentStrategy: 'idleResourceAssignmentStrategy',
  },
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `fairsharePolicy`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSchedulingPolicy.FairsharePolicyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_batch.CfnSchedulingPolicy.FairsharePolicyProperty.html) — The fair-share scheduling policy details.

- `name`: string — The name of the fair-share scheduling policy.

  It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

- `quotaSharePolicy`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSchedulingPolicy.QuotaSharePolicyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_batch.CfnSchedulingPolicy.QuotaSharePolicyProperty.html) — Quota Share Policy for the Job Queue.

- `tags`: { [key: string]: string } — The tags that you apply to the scheduling policy to help you categorize and organize your resources.

  Each tag consists of a key and an optional value. For more information, see [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in *AWS General Reference* .

  These tags can be updated or removed using the [TagResource](https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html) and [UntagResource](https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html) API operations.
