Class CfnQuotaShare
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.batch.CfnQuotaShare
- All Implemented Interfaces:
IInspectable,IQuotaShareRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-27T13:11:54.865Z")
@Stability(Stable)
public class CfnQuotaShare
extends CfnResource
implements IInspectable, IQuotaShareRef, ITaggableV2
Resource Type definition for AWS::Batch::QuotaShare.
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.*;
CfnQuotaShare cfnQuotaShare = CfnQuotaShare.Builder.create(this, "MyCfnQuotaShare")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnQuotaShare.static interfaceExample:static interfaceExample:static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.batch.IQuotaShareRef
IQuotaShareRef.Jsii$Default, IQuotaShareRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnQuotaShare(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnQuotaShare(software.amazon.jsii.JsiiObjectRef objRef) CfnQuotaShare(software.constructs.Construct scope, String id, CfnQuotaShareProps props) Create a newAWS::Batch::QuotaShare. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForQuotaShare(IQuotaShareRef resource) The capacity limits for the quota share.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) or name of the job queue.Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationPropertyThe name of the quota share.A reference to a QuotaShare resource.Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationPropertygetState()The state of the quota share.getTags()A key-value pair to associate with a resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnQuotaShare.renderProperties(Map<String, Object> props) voidsetCapacityLimits(List<Object> value) The capacity limits for the quota share.voidsetCapacityLimits(IResolvable value) The capacity limits for the quota share.voidsetJobQueue(String value) The Amazon Resource Name (ARN) or name of the job queue.voidvoidvoidsetQuotaShareName(String value) The name of the quota share.voidvoidvoidThe state of the quota share.voidA key-value pair to associate with a resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnQuotaShare
protected CfnQuotaShare(software.amazon.jsii.JsiiObjectRef objRef) -
CfnQuotaShare
protected CfnQuotaShare(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCapacityLimits
The capacity limits for the quota share.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnQuotaShare.QuotaShareCapacityLimitProperty> -
setCapacityLimits
The capacity limits for the quota share. -
setCapacityLimits
The capacity limits for the quota share. -
getJobQueue
The Amazon Resource Name (ARN) or name of the job queue. -
setJobQueue
The Amazon Resource Name (ARN) or name of the job queue. -
getPreemptionConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaSharePreemptionConfigurationProperty -
setPreemptionConfiguration
-
getResourceSharingConfiguration
Returns union: eitherIResolvableorCfnQuotaShare.QuotaShareResourceSharingConfigurationProperty -
setResourceSharingConfiguration
-
getState
The state of the quota share. -
setState
The state of the quota share. -
getTags
A key-value pair to associate with a resource. -
setTags
A key-value pair to associate with a resource.