aws-cdk-lib.aws_batch.CfnSchedulingPolicyProps

interface CfnSchedulingPolicyProps

LanguageType name
.NETAmazon.CDK.AWS.Batch.CfnSchedulingPolicyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnSchedulingPolicyProps
Javasoftware.amazon.awscdk.services.batch.CfnSchedulingPolicyProps
Pythonaws_cdk.aws_batch.CfnSchedulingPolicyProps
TypeScript aws-cdk-lib » aws_batch » CfnSchedulingPolicyProps

Properties for defining a CfnSchedulingPolicy.

Example

// 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',
  tags: {
    tagsKey: 'tags',
  },
};

Properties

NameTypeDescription
fairsharePolicy?IResolvable | FairsharePolicyPropertyThe fair share policy of the scheduling policy.
name?stringThe name of the scheduling policy.
tags?{ [string]: string }The tags that you apply to the scheduling policy to help you categorize and organize your resources.

fairsharePolicy?

Type: IResolvable | FairsharePolicyProperty (optional)

The fair share policy of the scheduling policy.


name?

Type: string (optional)

The name of the scheduling policy.

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


tags?

Type: { [string]: string } (optional)

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 in AWS General Reference .

These tags can be updated or removed using the TagResource and UntagResource API operations.