interface CfnQuotaShareProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Batch.CfnQuotaShareProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnQuotaShareProps |
Java | software.amazon.awscdk.services.batch.CfnQuotaShareProps |
Python | aws_cdk.aws_batch.CfnQuotaShareProps |
TypeScript | aws-cdk-lib » aws_batch » CfnQuotaShareProps |
Properties for defining a CfnQuotaShare.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
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 cfnQuotaShareProps: batch.CfnQuotaShareProps = {
capacityLimits: [{
capacityUnit: 'capacityUnit',
maxCapacity: 123,
}],
jobQueue: 'jobQueue',
preemptionConfiguration: {
inSharePreemption: 'inSharePreemption',
},
quotaShareName: 'quotaShareName',
resourceSharingConfiguration: {
strategy: 'strategy',
// the properties below are optional
borrowLimit: 123,
},
// the properties below are optional
state: 'state',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | IResolvable | (IResolvable | Quota)[] | The capacity limits for the quota share. |
| job | string | The Amazon Resource Name (ARN) or name of the job queue. |
| preemption | IResolvable | Quota | |
| quota | string | The name of the quota share. |
| resource | IResolvable | Quota | |
| state? | string | The state of the quota share. |
| tags? | { [string]: string } | A key-value pair to associate with a resource. |
capacityLimits
Type:
IResolvable | (IResolvable | Quota)[]
The capacity limits for the quota share.
jobQueue
Type:
string
The Amazon Resource Name (ARN) or name of the job queue.
preemptionConfiguration
Type:
IResolvable | Quota
quotaShareName
Type:
string
The name of the quota share.
resourceSharingConfiguration
Type:
IResolvable | Quota
state?
Type:
string
(optional)
The state of the quota share.
tags?
Type:
{ [string]: string }
(optional)
A key-value pair to associate with a resource.

.NET
Go
Java
Python
TypeScript