# CacheUsageLimitsProperty

The usage limits for storage and ElastiCache Processing Units for the cache.

- Source: Generated code
- Type last changed: v2.113.0 · 1 Dec 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cacheUsageLimitsProperty: elasticache.CfnServerlessCache.CacheUsageLimitsProperty = {
  dataStorage: {
    unit: 'unit',

    // the properties below are optional
    maximum: 123,
    minimum: 123,
  },
  ecpuPerSecond: {
    maximum: 123,
    minimum: 123,
  },
};
```

## Properties

- `dataStorage`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnServerlessCache.DataStorageProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_elasticache.CfnServerlessCache.DataStorageProperty.html) — The maximum data storage limit in the cache, expressed in Gigabytes.

- `ecpuPerSecond`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnServerlessCache.ECPUPerSecondProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_elasticache.CfnServerlessCache.ECPUPerSecondProperty.html) — The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
