Skip to content
v2.274.0

CfnSchedulingPolicyProps Struct ​

Properties for defining a CfnSchedulingPolicy.

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 ​

fairsharePolicyIResolvable | CfnSchedulingPolicy.FairsharePolicyPropertyfairshare_policytyping.Union[IResolvable, FairsharePolicyProperty]fairsharePolicyIResolvableFairsharePolicyIResolvableFairsharePolicyinterface{}#
The fair-share scheduling policy details.
namestringnamestrnameStringNamestringName*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 (_).

quotaSharePolicyIResolvable | CfnSchedulingPolicy.QuotaSharePolicyPropertyquota_share_policytyping.Union[IResolvable, QuotaSharePolicyProperty]quotaSharePolicyIResolvableQuotaSharePolicyIResolvableQuotaSharePolicyinterface{}#
Quota Share Policy for the Job Queue.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string#
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
notes

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.

Used as props by ​