interface CfnQuotaShareMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Batch.CfnQuotaShareMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbatch#CfnQuotaShareMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.batch.CfnQuotaShareMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_batch.CfnQuotaShareMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_batch » CfnQuotaShareMixinProps |
Properties for CfnQuotaSharePropsMixin.
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/cfn-property-mixins';
const cfnQuotaShareMixinProps: batch.CfnQuotaShareMixinProps = {
capacityLimits: [{
capacityUnit: 'capacityUnit',
maxCapacity: 123,
}],
jobQueue: 'jobQueue',
preemptionConfiguration: {
inSharePreemption: 'inSharePreemption',
},
quotaShareName: 'quotaShareName',
resourceSharingConfiguration: {
borrowLimit: 123,
strategy: 'strategy',
},
state: 'state',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | IResolvable | (IResolvable | Quota)[] | A list that specifies the quantity and type of compute capacity allocated to the quota share. |
| job | string | The AWS Batch job queue associated with the quota share. |
| 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 } | The tags that you apply to the quota share to help you categorize and organize your resources. |
capacityLimits?
Type:
IResolvable | (IResolvable | Quota)[]
(optional)
A list that specifies the quantity and type of compute capacity allocated to the quota share.
jobQueue?
Type:
string
(optional)
The AWS Batch job queue associated with the quota share.
This can be the job queue name or ARN. A job queue must be in the VALID state before you can associate it with a quota share.
preemptionConfiguration?
Type:
IResolvable | Quota
(optional)
quotaShareName?
Type:
string
(optional)
The name of the quota share.
It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
resourceSharingConfiguration?
Type:
IResolvable | Quota
(optional)
state?
Type:
string
(optional)
The state of the quota share.
If the quota share is ENABLED, it is able to accept jobs. If the quota share is DISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state is ENABLED.
tags?
Type:
{ [string]: string }
(optional)
The tags that you apply to the quota share to help you categorize and organize your resources.
Each tag consists of a key and an optional value.

.NET
Go
Java
Python
TypeScript