AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Batch::SchedulingPolicy

CfnSchedulingPolicy

The `AWS::Batch::SchedulingPolicy` resource specifies the parameters for an AWS Batch scheduling policy. For more information, see [Scheduling Policies](https://docs.aws.amazon.com/batch/latest/userguide/scheduling_policies.html) in the ** .

Import

import { CfnSchedulingPolicy } from 'aws-cdk-lib/aws-batch';

Or use the module namespace:

import * as batch from 'aws-cdk-lib/aws-batch';
// batch.CfnSchedulingPolicy

Properties

Configuration passed to the constructor as CfnSchedulingPolicyProps.

fairsharePolicyOptional
IResolvable | FairsharePolicyProperty

The fair-share scheduling policy details.

nameOptional
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 (_).

quotaSharePolicyOptional
IResolvable | QuotaSharePolicyProperty

Quota Share Policy for the Job Queue.

tagsOptional
{ [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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter