

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::IoTFleetWise::Campaign StorageMaximumSize
<a name="aws-properties-iotfleetwise-campaign-storagemaximumsize"></a>

The maximum storage size for the data partition.

**Important**  
Amazon IoT FleetWise is no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see [Amazon IoT FleetWise availability change](https://docs.amazonaws.cn/iot-fleetwise/latest/developerguide/iotfleetwise-availability-change.html).

## Syntax
<a name="aws-properties-iotfleetwise-campaign-storagemaximumsize-syntax"></a>

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

### JSON
<a name="aws-properties-iotfleetwise-campaign-storagemaximumsize-syntax.json"></a>

```
{
  "[Unit](#cfn-iotfleetwise-campaign-storagemaximumsize-unit)" : {{String}},
  "[Value](#cfn-iotfleetwise-campaign-storagemaximumsize-value)" : {{Integer}}
}
```

### YAML
<a name="aws-properties-iotfleetwise-campaign-storagemaximumsize-syntax.yaml"></a>

```
  [Unit](#cfn-iotfleetwise-campaign-storagemaximumsize-unit): {{String}}
  [Value](#cfn-iotfleetwise-campaign-storagemaximumsize-value): {{Integer}}
```

## Properties
<a name="aws-properties-iotfleetwise-campaign-storagemaximumsize-properties"></a>

`Unit`  <a name="cfn-iotfleetwise-campaign-storagemaximumsize-unit"></a>
The data type of the data to store.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `MB | GB | TB`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Value`  <a name="cfn-iotfleetwise-campaign-storagemaximumsize-value"></a>
The maximum amount of time to store data.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `1073741824`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)