interface QuotaShareResourceSharingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Batch.CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnQuotaShare_QuotaShareResourceSharingConfigurationProperty |
Java | software.amazon.awscdk.services.batch.CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty |
Python | aws_cdk.aws_batch.CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_batch » CfnQuotaShare » QuotaShareResourceSharingConfigurationProperty |
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 quotaShareResourceSharingConfigurationProperty: batch.CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty = {
strategy: 'strategy',
// the properties below are optional
borrowLimit: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| strategy | string | The resource sharing strategy for the quota share. |
| borrow | number | The maximum percentage of additional capacity that the quota share can borrow from other shares. |
strategy
Type:
string
The resource sharing strategy for the quota share.
The RESERVE strategy allows a quota share to reserve idle capacity for itself. LEND configures the share to lend its idle capacity to another share in need of capacity. The LEND_AND_BORROW strategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.
borrowLimit?
Type:
number
(optional)
The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimit can only be applied to quota shares with a strategy of LEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. The BorrowLimit is applied uniformly across all capacity units. For example, if the BorrowLimit is 200, the quota share can borrow up to 200% of its configured maxCapacity for each capacity unit. The default BorrowLimit is -1, which indicates unlimited borrowing.

.NET
Go
Java
Python
TypeScript