Interface CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnQuotaShare
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
QuotaShareResourceSharingConfigurationProperty quotaShareResourceSharingConfigurationProperty = QuotaShareResourceSharingConfigurationProperty.builder()
.strategy("strategy")
// the properties below are optional
.borrowLimit(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnQuotaShare.QuotaShareResourceSharingConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStrategy
The resource sharing strategy for the quota share.The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.- See Also:
-
getBorrowLimit
The maximum percentage of additional capacity that the quota share can borrow from other shares.BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.- See Also:
-
builder
@Stability(Stable) static CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty.Builder builder()
-