Interface IServerlessCache.Jsii$Default
- All Superinterfaces:
IConnectable
,IConnectable.Jsii$Default
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IServerlessCache
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IServerlessCache.Jsii$Proxy
- Enclosing interface:
IServerlessCache
IServerlessCache
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IConnectable
IConnectable.Jsii$Default, IConnectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticache.alpha.IServerlessCache
IServerlessCache.Jsii$Default, IServerlessCache.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.(experimental) The ARNs of backups restored in the cache.default Connections
The network connections associated with this resource.default CacheEngine
(experimental) The cache engine used by this cache.default ResourceEnvironment
getEnv()
The environment this resource belongs to.default IKey
(experimental) The KMS key used for encryption.default software.constructs.Node
getNode()
The tree node.default List
<ISecurityGroup> (experimental) The security groups associated with this cache.default String
(experimental) The ARN of the serverless cache.default String
(experimental) The name of the serverless cache.default Stack
getStack()
The stack in which this resource is defined.(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.default Grant
grant
(IGrantable grantee, String... actions) (experimental) Grant the given identity custom permissions.default Grant
grantConnect
(IGrantable grantee) (experimental) Grant connect permissions to the cache.default Metric
metric
(String metricName, MetricOptions props) (experimental) Return the given named metric for this cache.default Metric
(experimental) Metric for active connections.default Metric
metricCacheHitCount
(MetricOptions props) (experimental) Metric for cache hit count.default Metric
metricCacheHitRate
(MetricOptions props) (experimental) Metric for cache hit rate.default Metric
(experimental) Metric for cache miss count.default Metric
metricDataStored
(MetricOptions props) (experimental) Metric for data stored in the cache.default Metric
(experimental) Metric for network bytes in.default Metric
(experimental) Metric for network bytes out.default Metric
(experimental) Metric for ECPUs consumed.default Metric
(experimental) Metric for read request latency.default Metric
(experimental) Metric for write request latency.Methods inherited from interface software.amazon.awscdk.services.elasticache.alpha.IServerlessCache
metric, metricActiveConnections, metricCacheHitCount, metricCacheHitRate, metricCacheMissCount, metricDataStored, metricNetworkBytesIn, metricNetworkBytesOut, metricProcessingUnitsConsumed, metricReadRequestLatency, metricWriteRequestLatency
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getConnections
The network connections associated with this resource.- Specified by:
getConnections
in interfaceIConnectable
- Specified by:
getConnections
in interfaceIConnectable.Jsii$Default
-
getServerlessCacheArn
(experimental) The ARN of the serverless cache.- Specified by:
getServerlessCacheArn
in interfaceIServerlessCache
-
getServerlessCacheName
(experimental) The name of the serverless cache.- Specified by:
getServerlessCacheName
in interfaceIServerlessCache
-
getBackupArnsToRestore
(experimental) The ARNs of backups restored in the cache.- Specified by:
getBackupArnsToRestore
in interfaceIServerlessCache
-
getEngine
(experimental) The cache engine used by this cache.- Specified by:
getEngine
in interfaceIServerlessCache
-
getKmsKey
(experimental) The KMS key used for encryption.- Specified by:
getKmsKey
in interfaceIServerlessCache
-
getSecurityGroups
(experimental) The security groups associated with this cache.- Specified by:
getSecurityGroups
in interfaceIServerlessCache
-
getSubnets
(experimental) The subnets this cache is deployed in.- Specified by:
getSubnets
in interfaceIServerlessCache
-
getUserGroup
(experimental) The user group associated with this cache.- Specified by:
getUserGroup
in interfaceIServerlessCache
-
getVpc
(experimental) The VPC this cache is deployed in.- Specified by:
getVpc
in interfaceIServerlessCache
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
grant
@Stability(Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant the given identity custom permissions.- Specified by:
grant
in interfaceIServerlessCache
- Parameters:
grantee
- This parameter is required.actions
- This parameter is required.
-
grantConnect
(experimental) Grant connect permissions to the cache.- Specified by:
grantConnect
in interfaceIServerlessCache
- Parameters:
grantee
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this cache.- Specified by:
metric
in interfaceIServerlessCache
- Parameters:
metricName
- This parameter is required.props
-
-
metricActiveConnections
@Stability(Experimental) @NotNull default Metric metricActiveConnections(@Nullable MetricOptions props) (experimental) Metric for active connections.- Specified by:
metricActiveConnections
in interfaceIServerlessCache
- Parameters:
props
-
-
metricCacheHitCount
(experimental) Metric for cache hit count.- Specified by:
metricCacheHitCount
in interfaceIServerlessCache
- Parameters:
props
-
-
metricCacheHitRate
(experimental) Metric for cache hit rate.- Specified by:
metricCacheHitRate
in interfaceIServerlessCache
- Parameters:
props
-
-
metricCacheMissCount
@Stability(Experimental) @NotNull default Metric metricCacheMissCount(@Nullable MetricOptions props) (experimental) Metric for cache miss count.- Specified by:
metricCacheMissCount
in interfaceIServerlessCache
- Parameters:
props
-
-
metricDataStored
(experimental) Metric for data stored in the cache.- Specified by:
metricDataStored
in interfaceIServerlessCache
- Parameters:
props
-
-
metricNetworkBytesIn
@Stability(Experimental) @NotNull default Metric metricNetworkBytesIn(@Nullable MetricOptions props) (experimental) Metric for network bytes in.- Specified by:
metricNetworkBytesIn
in interfaceIServerlessCache
- Parameters:
props
-
-
metricNetworkBytesOut
@Stability(Experimental) @NotNull default Metric metricNetworkBytesOut(@Nullable MetricOptions props) (experimental) Metric for network bytes out.- Specified by:
metricNetworkBytesOut
in interfaceIServerlessCache
- Parameters:
props
-
-
metricProcessingUnitsConsumed
@Stability(Experimental) @NotNull default Metric metricProcessingUnitsConsumed(@Nullable MetricOptions props) (experimental) Metric for ECPUs consumed.- Specified by:
metricProcessingUnitsConsumed
in interfaceIServerlessCache
- Parameters:
props
-
-
metricReadRequestLatency
@Stability(Experimental) @NotNull default Metric metricReadRequestLatency(@Nullable MetricOptions props) (experimental) Metric for read request latency.- Specified by:
metricReadRequestLatency
in interfaceIServerlessCache
- Parameters:
props
-
-
metricWriteRequestLatency
@Stability(Experimental) @NotNull default Metric metricWriteRequestLatency(@Nullable MetricOptions props) (experimental) Metric for write request latency.- Specified by:
metricWriteRequestLatency
in interfaceIServerlessCache
- Parameters:
props
-
-