Interface CfnQuotaShareMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQuotaShareMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-21T17:27:49.510Z")
@Stability(Stable)
public interface CfnQuotaShareMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnQuotaSharePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.batch.*;
CfnQuotaShareMixinProps cfnQuotaShareMixinProps = CfnQuotaShareMixinProps.builder()
.capacityLimits(List.of(QuotaShareCapacityLimitProperty.builder()
.capacityUnit("capacityUnit")
.maxCapacity(123)
.build()))
.jobQueue("jobQueue")
.preemptionConfiguration(QuotaSharePreemptionConfigurationProperty.builder()
.inSharePreemption("inSharePreemption")
.build())
.quotaShareName("quotaShareName")
.resourceSharingConfiguration(QuotaShareResourceSharingConfigurationProperty.builder()
.borrowLimit(123)
.strategy("strategy")
.build())
.state("state")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQuotaShareMixinPropsstatic final classAn implementation forCfnQuotaShareMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list that specifies the quantity and type of compute capacity allocated to the quota share.default StringThe AWS Batch job queue associated with the quota share.default ObjectReturns union: eitherIResolvableorCfnQuotaSharePropsMixin.QuotaSharePreemptionConfigurationPropertydefault StringThe name of the quota share.default ObjectReturns union: eitherIResolvableorCfnQuotaSharePropsMixin.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: '<'eitherIResolvableorCfnQuotaSharePropsMixin.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: eitherIResolvableorCfnQuotaSharePropsMixin.QuotaSharePreemptionConfigurationProperty- See Also:
-
getResourceSharingConfiguration
Returns union: eitherIResolvableorCfnQuotaSharePropsMixin.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
CfnQuotaShareMixinProps.BuilderofCfnQuotaShareMixinProps
-