Interface CfnQuotaShareProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQuotaShareProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-27T13:11:54.866Z")
@Stability(Stable)
public interface CfnQuotaShareProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnQuotaShare.
Example:
// 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.*;
CfnQuotaShareProps cfnQuotaShareProps = CfnQuotaShareProps.builder()
.capacityLimits(List.of(QuotaShareCapacityLimitProperty.builder()
.capacityUnit("capacityUnit")
.maxCapacity(123)
.build()))
.jobQueue("jobQueue")
.preemptionConfiguration(QuotaSharePreemptionConfigurationProperty.builder()
.inSharePreemption("inSharePreemption")
.build())
.quotaShareName("quotaShareName")
.resourceSharingConfiguration(QuotaShareResourceSharingConfigurationProperty.builder()
.strategy("strategy")
// the properties below are optional
.borrowLimit(123)
.build())
// the properties below are optional
.state("state")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQuotaSharePropsstatic final classAn implementation forCfnQuotaShareProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnQuotaShareProps.Builderbuilder()The capacity limits for the quota share.The Amazon Resource Name (ARN) or name of the job queue.Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationPropertyThe name of the quota share.Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationPropertydefault StringgetState()The state of the quota share.getTags()A key-value pair to associate with a resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityLimits
The capacity limits for the quota share.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnQuotaShare.QuotaShareCapacityLimitProperty>- See Also:
-
getJobQueue
The Amazon Resource Name (ARN) or name of the job queue.- See Also:
-
getPreemptionConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationProperty- See Also:
-
getResourceSharingConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationProperty- See Also:
-
getState
The state of the quota share.- See Also:
-
getTags
A key-value pair to associate with a resource.- See Also:
-
builder
- Returns:
- a
CfnQuotaShareProps.BuilderofCfnQuotaShareProps
-