CfnQuotaShareProps
- class aws_cdk.aws_batch.CfnQuotaShareProps(*, capacity_limits, job_queue, preemption_configuration, quota_share_name, resource_sharing_configuration, state=None, tags=None)
Bases:
objectProperties for defining a
CfnQuotaShare.- Parameters:
capacity_limits (
Union[IResolvable,Sequence[Union[IResolvable,QuotaShareCapacityLimitProperty,Dict[str,Any]]]]) – The capacity limits for the quota share.job_queue (
str) – The Amazon Resource Name (ARN) or name of the job queue.preemption_configuration (
Union[IResolvable,QuotaSharePreemptionConfigurationProperty,Dict[str,Any]])quota_share_name (
str) – The name of the quota share.resource_sharing_configuration (
Union[IResolvable,QuotaShareResourceSharingConfigurationProperty,Dict[str,Any]])state (
Optional[str]) – The state of the quota share.tags (
Optional[Mapping[str,str]]) – A key-value pair to associate with a resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_batch as batch cfn_quota_share_props = batch.CfnQuotaShareProps( capacity_limits=[batch.CfnQuotaShare.QuotaShareCapacityLimitProperty( capacity_unit="capacityUnit", max_capacity=123 )], job_queue="jobQueue", preemption_configuration=batch.CfnQuotaShare.QuotaSharePreemptionConfigurationProperty( in_share_preemption="inSharePreemption" ), quota_share_name="quotaShareName", resource_sharing_configuration=batch.CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty( strategy="strategy", # the properties below are optional borrow_limit=123 ), # the properties below are optional state="state", tags={ "tags_key": "tags" } )
Attributes
- capacity_limits
The capacity limits for the quota share.
- job_queue
The Amazon Resource Name (ARN) or name of the job queue.
- preemption_configuration
-
- Type:
see
- quota_share_name
The name of the quota share.
- resource_sharing_configuration
-
- Type:
see
- state
The state of the quota share.
- tags
A key-value pair to associate with a resource.