---
type: resource-type
title: QuotaShare
description: aws resource type AWS::Batch::QuotaShare
name: QuotaShare
lexicon: aws
resource_type: AWS::Batch::QuotaShare
---
`AWS::Batch::QuotaShare`, a resource type of the aws lexicon.

## Properties

- `CapacityLimits` (`QuotaShare_QuotaShareCapacityLimit[]`, required): A list that specifies the quantity and type of compute capacity allocated to the quota share.
- `JobQueue` (`string`, required): 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 `VALID` state before you can associate it with a quota share.
- `PreemptionConfiguration` (`QuotaShare_QuotaSharePreemptionConfiguration`, required): Specifies the preemption behavior for jobs in a quota share.
- `QuotaShareName` (`string`, required): The name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- `ResourceSharingConfiguration` (`QuotaShare_QuotaShareResourceSharingConfiguration`, required): Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- `QuotaShareArn` (`string`, optional): The Amazon Resource Name (ARN) of the quota share.
- `State` (`"DISABLED" | "ENABLED"`, optional): The state of the quota share. If the quota share is `ENABLED`, it is able to accept jobs. If the quota share is `DISABLED`, new jobs won't be accepted but jobs already submitted can finish. The default state is `ENABLED`.
- `Tags` (`Record<string, unknown>`, optional): 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.

## Attributes

- `QuotaShareArn`
