

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

# AWS::Batch::ComputeEnvironment CapacityReservations
<a name="aws-properties-batch-computeenvironment-capacityreservations"></a>

<a name="aws-properties-batch-computeenvironment-capacityreservations-description"></a>The `CapacityReservations` property type specifies Property description not available. for an [AWS::Batch::ComputeEnvironment](aws-resource-batch-computeenvironment.md).

## Syntax
<a name="aws-properties-batch-computeenvironment-capacityreservations-syntax"></a>

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

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

```
{
  "[ReservationGroupArn](#cfn-batch-computeenvironment-capacityreservations-reservationgrouparn)" : {{String}},
  "[ReservationPreference](#cfn-batch-computeenvironment-capacityreservations-reservationpreference)" : {{String}}
}
```

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

```
  [ReservationGroupArn](#cfn-batch-computeenvironment-capacityreservations-reservationgrouparn): {{String}}
  [ReservationPreference](#cfn-batch-computeenvironment-capacityreservations-reservationpreference): {{String}}
```

## Properties
<a name="aws-properties-batch-computeenvironment-capacityreservations-properties"></a>

`ReservationGroupArn`  <a name="cfn-batch-computeenvironment-capacityreservations-reservationgrouparn"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ReservationPreference`  <a name="cfn-batch-computeenvironment-capacityreservations-reservationpreference"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)