interface CfnSchedulingPolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.CfnSchedulingPolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnSchedulingPolicyProps |
![]() | software.amazon.awscdk.services.batch.CfnSchedulingPolicyProps |
![]() | aws_cdk.aws_batch.CfnSchedulingPolicyProps |
![]() | 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
Name | Type | Description |
---|---|---|
fairshare | IResolvable | Fairshare | The fair-share scheduling policy details. |
name? | string | The name of the fair-share 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
|
Fairshare
(optional)
The fair-share scheduling policy details.
name?
Type:
string
(optional)
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 (_).
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.