Interface CfnServerlessCache.CacheUsageLimitsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServerlessCache.CacheUsageLimitsProperty.Jsii$Proxy
- Enclosing class:
CfnServerlessCache
@Stability(Stable)
public static interface CfnServerlessCache.CacheUsageLimitsProperty
extends software.amazon.jsii.JsiiSerializable
The usage limits for storage and ElastiCache Processing Units for the cache.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticache.*;
CacheUsageLimitsProperty cacheUsageLimitsProperty = CacheUsageLimitsProperty.builder()
.dataStorage(DataStorageProperty.builder()
.unit("unit")
// the properties below are optional
.maximum(123)
.minimum(123)
.build())
.ecpuPerSecond(ECPUPerSecondProperty.builder()
.maximum(123)
.minimum(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServerlessCache.CacheUsageLimitsPropertystatic final classAn implementation forCfnServerlessCache.CacheUsageLimitsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataStorage
The maximum data storage limit in the cache, expressed in Gigabytes.Returns union: either
IResolvableorCfnServerlessCache.DataStorageProperty- See Also:
-
getEcpuPerSecond
The number of ElastiCache Processing Units (ECPU) the cache can consume per second.Returns union: either
IResolvableorCfnServerlessCache.ECPUPerSecondProperty- See Also:
-
builder
-