Interface CfnQuotaShareProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQuotaShareProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-20T12:39:41.115Z")
@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()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.Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationPropertyThe name of the quota share.Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationPropertydefault StringgetState()The state of the quota share.getTags()The tags that you apply to the quota share to help you categorize and organize your resources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityLimits
A list that specifies the quantity and type of compute capacity allocated to the quota share.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnQuotaShare.QuotaShareCapacityLimitProperty>- See Also:
-
getJobQueue
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
VALIDstate before you can associate it with a quota share.- See Also:
-
getPreemptionConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationProperty- See Also:
-
getResourceSharingConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationProperty- See Also:
-
getState
The state of the quota share.If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED.- See Also:
-
getTags
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.
- See Also:
-
builder
- Returns:
- a
CfnQuotaShareProps.BuilderofCfnQuotaShareProps
-