Skip to content
v2.275.0

DataStorageProperty Struct ​

The data storage limit.

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 dataStorageProperty: elasticache.CfnServerlessCache.DataStorageProperty = {
  unit: 'unit',

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

Properties ​

maximumoptionalnumbermaximumoptionalint | floatmaximumoptionalNumberMaximumoptionaldoubleMaximumoptional*float64#
The upper limit for data storage the cache is set to use.
minimumoptionalnumberminimumoptionalint | floatminimumoptionalNumberMinimumoptionaldoubleMinimumoptional*float64#
The lower limit for data storage the cache is set to use.
unitstringunitstrunitStringUnitstringUnit*stringrequired#
The unit that the storage is measured in, in GB.