

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Batch::QuotaShare QuotaSharePreemptionConfiguration
<a name="aws-properties-batch-quotashare-quotasharepreemptionconfiguration"></a>

Specifies the preemption behavior for jobs in a quota share.

## Syntax
<a name="aws-properties-batch-quotashare-quotasharepreemptionconfiguration-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-batch-quotashare-quotasharepreemptionconfiguration-syntax.json"></a>

```
{
  "[InSharePreemption](#cfn-batch-quotashare-quotasharepreemptionconfiguration-insharepreemption)" : {{String}}
}
```

### YAML
<a name="aws-properties-batch-quotashare-quotasharepreemptionconfiguration-syntax.yaml"></a>

```
  [InSharePreemption](#cfn-batch-quotashare-quotasharepreemptionconfiguration-insharepreemption): {{String}}
```

## Properties
<a name="aws-properties-batch-quotashare-quotasharepreemptionconfiguration-properties"></a>

`InSharePreemption`  <a name="cfn-batch-quotashare-quotasharepreemptionconfiguration-insharepreemption"></a>
Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)