

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::EC2::SpotFleet MemoryMiBRequest
<a name="aws-properties-ec2-spotfleet-memorymibrequest"></a>

The minimum and maximum amount of memory, in MiB.

## Syntax
<a name="aws-properties-ec2-spotfleet-memorymibrequest-syntax"></a>

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

### JSON
<a name="aws-properties-ec2-spotfleet-memorymibrequest-syntax.json"></a>

```
{
  "[Max](#cfn-ec2-spotfleet-memorymibrequest-max)" : Integer,
  "[Min](#cfn-ec2-spotfleet-memorymibrequest-min)" : Integer
}
```

### YAML
<a name="aws-properties-ec2-spotfleet-memorymibrequest-syntax.yaml"></a>

```
  [Max](#cfn-ec2-spotfleet-memorymibrequest-max): Integer
  [Min](#cfn-ec2-spotfleet-memorymibrequest-min): Integer
```

## Properties
<a name="aws-properties-ec2-spotfleet-memorymibrequest-properties"></a>

`Max`  <a name="cfn-ec2-spotfleet-memorymibrequest-max"></a>
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.  
*Required*: No  
*Type*: Integer  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Min`  <a name="cfn-ec2-spotfleet-memorymibrequest-min"></a>
The minimum amount of memory, in MiB. To specify no minimum limit, specify `0`.  
*Required*: No  
*Type*: Integer  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)