Skip to content
v2.275.0

CacheUsageLimitsProperty Struct ​

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

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 ​

dataStorageoptionalIResolvable | CfnServerlessCache.DataStoragePropertydata_storageoptionaltyping.Union[IResolvable, DataStorageProperty]dataStorageoptionalIResolvableDataStorageoptionalIResolvableDataStorageoptionalinterface{}#
The maximum data storage limit in the cache, expressed in Gigabytes.
ecpuPerSecondoptionalIResolvable | CfnServerlessCache.ECPUPerSecondPropertyecpu_per_secondoptionaltyping.Union[IResolvable, ECPUPerSecondProperty]ecpuPerSecondoptionalIResolvableEcpuPerSecondoptionalIResolvableEcpuPerSecondoptionalinterface{}#
The number of ElastiCache Processing Units (ECPU) the cache can consume per second.