Interface IServerlessCache
- All Superinterfaces:
IConnectable
,software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IServerlessCache.Jsii$Default
- All Known Implementing Classes:
IServerlessCache.Jsii$Proxy
,ServerlessCache
,ServerlessCacheBase
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:23.373Z")
@Stability(Experimental)
public interface IServerlessCache
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable
(experimental) Represents a Serverless ElastiCache cache.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIServerlessCache
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARNs of backups restored in the cache.default CacheEngine
(experimental) The cache engine used by this cache.default IKey
(experimental) The KMS key used for encryption.default List
<ISecurityGroup> (experimental) The security groups associated with this cache.(experimental) The ARN of the serverless cache.(experimental) The name of the serverless cache.(experimental) The subnets this cache is deployed in.default IUserGroup
(experimental) The user group associated with this cache.default IVpc
getVpc()
(experimental) The VPC this cache is deployed in.grant
(IGrantable grantee, String... actions) (experimental) Grant the given identity custom permissions.grantConnect
(IGrantable grantee) (experimental) Grant connect permissions to the cache.(experimental) Return the given named metric for this cache.metric
(String metricName, MetricOptions props) (experimental) Return the given named metric for this cache.(experimental) Metric for active connections.(experimental) Metric for active connections.(experimental) Metric for cache hit count.metricCacheHitCount
(MetricOptions props) (experimental) Metric for cache hit count.(experimental) Metric for cache hit rate.metricCacheHitRate
(MetricOptions props) (experimental) Metric for cache hit rate.(experimental) Metric for cache miss count.(experimental) Metric for cache miss count.(experimental) Metric for data stored in the cache.metricDataStored
(MetricOptions props) (experimental) Metric for data stored in the cache.(experimental) Metric for network bytes in.(experimental) Metric for network bytes in.(experimental) Metric for network bytes out.(experimental) Metric for network bytes out.(experimental) Metric for ECPUs consumed.(experimental) Metric for ECPUs consumed.(experimental) Metric for read request latency.(experimental) Metric for read request latency.(experimental) Metric for write request latency.(experimental) Metric for write request latency.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServerlessCacheArn
(experimental) The ARN of the serverless cache. -
getServerlessCacheName
(experimental) The name of the serverless cache. -
getBackupArnsToRestore
(experimental) The ARNs of backups restored in the cache. -
getEngine
(experimental) The cache engine used by this cache. -
getKmsKey
(experimental) The KMS key used for encryption. -
getSecurityGroups
(experimental) The security groups associated with this cache. -
getSubnets
(experimental) The subnets this cache is deployed in. -
getUserGroup
(experimental) The user group associated with this cache. -
getVpc
(experimental) The VPC this cache is deployed in. -
grant
@Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant the given identity custom permissions.- Parameters:
grantee
- This parameter is required.actions
- This parameter is required.
-
grantConnect
(experimental) Grant connect permissions to the cache.- Parameters:
grantee
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this cache.- Parameters:
metricName
- This parameter is required.props
-
-
metric
(experimental) Return the given named metric for this cache.- Parameters:
metricName
- This parameter is required.
-
metricActiveConnections
(experimental) Metric for active connections.- Parameters:
props
-
-
metricActiveConnections
(experimental) Metric for active connections. -
metricCacheHitCount
(experimental) Metric for cache hit count.- Parameters:
props
-
-
metricCacheHitCount
(experimental) Metric for cache hit count. -
metricCacheHitRate
(experimental) Metric for cache hit rate.- Parameters:
props
-
-
metricCacheHitRate
(experimental) Metric for cache hit rate. -
metricCacheMissCount
(experimental) Metric for cache miss count.- Parameters:
props
-
-
metricCacheMissCount
(experimental) Metric for cache miss count. -
metricDataStored
(experimental) Metric for data stored in the cache.- Parameters:
props
-
-
metricDataStored
(experimental) Metric for data stored in the cache. -
metricNetworkBytesIn
(experimental) Metric for network bytes in.- Parameters:
props
-
-
metricNetworkBytesIn
(experimental) Metric for network bytes in. -
metricNetworkBytesOut
(experimental) Metric for network bytes out.- Parameters:
props
-
-
metricNetworkBytesOut
(experimental) Metric for network bytes out. -
metricProcessingUnitsConsumed
@Stability(Experimental) @NotNull Metric metricProcessingUnitsConsumed(@Nullable MetricOptions props) (experimental) Metric for ECPUs consumed.- Parameters:
props
-
-
metricProcessingUnitsConsumed
(experimental) Metric for ECPUs consumed. -
metricReadRequestLatency
(experimental) Metric for read request latency.- Parameters:
props
-
-
metricReadRequestLatency
(experimental) Metric for read request latency. -
metricWriteRequestLatency
(experimental) Metric for write request latency.- Parameters:
props
-
-
metricWriteRequestLatency
(experimental) Metric for write request latency.
-