CfnQuotaShareProps Struct
Properties for defining a CfnQuotaShare.
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 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
capacityLimitsIResolvable | IResolvable | CfnQuotaShare.QuotaShareCapacityLimitProperty[]capacity_limitstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, QuotaShareCapacityLimitProperty]]]capacityLimitsIResolvableCapacityLimitsIResolvableCapacityLimitsinterface{}required#A list that specifies the quantity and type of compute capacity allocated to the quota share.
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.
preemptionConfigurationIResolvable | CfnQuotaShare.QuotaSharePreemptionConfigurationPropertypreemption_configurationtyping.Union[IResolvable, QuotaSharePreemptionConfigurationProperty]preemptionConfigurationIResolvablePreemptionConfigurationIResolvablePreemptionConfigurationinterface{}required#resourceSharingConfigurationIResolvable | CfnQuotaShare.QuotaShareResourceSharingConfigurationPropertyresource_sharing_configurationtyping.Union[IResolvable, QuotaShareResourceSharingConfigurationProperty]resourceSharingConfigurationIResolvableResourceSharingConfigurationIResolvableResourceSharingConfigurationinterface{}required#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.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#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.