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,IEnvironmentAware,IEnvironmentAware.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$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticache.alpha.IServerlessCache
IServerlessCache.Jsii$Default, IServerlessCache.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.(experimental) The ARNs of backups restored in the cache.default ConnectionsThe network connections associated with this resource.default CacheEngine(experimental) The cache engine used by this cache.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default IKey(experimental) The KMS key used for encryption.default software.constructs.NodegetNode()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 StackgetStack()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 IVpcgetVpc()(experimental) The VPC this cache is deployed in.default Grantgrant(IGrantable grantee, String... actions) (experimental) Grant the given identity custom permissions.default GrantgrantConnect(IGrantable grantee) (experimental) Grant connect permissions to the cache.default Metricmetric(String metricName, MetricOptions props) (experimental) Return the given named metric for this cache.default Metric(experimental) Metric for active connections.default MetricmetricCacheHitCount(MetricOptions props) (experimental) Metric for cache hit count.default MetricmetricCacheHitRate(MetricOptions props) (experimental) Metric for cache hit rate.default Metric(experimental) Metric for cache miss count.default MetricmetricDataStored(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, metricWriteRequestLatencyMethods 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:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getConnections
The network connections associated with this resource.- Specified by:
getConnectionsin interfaceIConnectable- Specified by:
getConnectionsin interfaceIConnectable.Jsii$Default
-
getServerlessCacheArn
(experimental) The ARN of the serverless cache.- Specified by:
getServerlessCacheArnin interfaceIServerlessCache
-
getServerlessCacheName
(experimental) The name of the serverless cache.- Specified by:
getServerlessCacheNamein interfaceIServerlessCache
-
getBackupArnsToRestore
(experimental) The ARNs of backups restored in the cache.- Specified by:
getBackupArnsToRestorein interfaceIServerlessCache
-
getEngine
(experimental) The cache engine used by this cache.- Specified by:
getEnginein interfaceIServerlessCache
-
getKmsKey
(experimental) The KMS key used for encryption.- Specified by:
getKmsKeyin interfaceIServerlessCache
-
getSecurityGroups
(experimental) The security groups associated with this cache.- Specified by:
getSecurityGroupsin interfaceIServerlessCache
-
getSubnets
(experimental) The subnets this cache is deployed in.- Specified by:
getSubnetsin interfaceIServerlessCache
-
getUserGroup
(experimental) The user group associated with this cache.- Specified by:
getUserGroupin interfaceIServerlessCache
-
getVpc
(experimental) The VPC this cache is deployed in.- Specified by:
getVpcin 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:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin 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:
grantin interfaceIServerlessCache- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantConnect
(experimental) Grant connect permissions to the cache.- Specified by:
grantConnectin 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:
metricin 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:
metricActiveConnectionsin interfaceIServerlessCache- Parameters:
props-
-
metricCacheHitCount
(experimental) Metric for cache hit count.- Specified by:
metricCacheHitCountin interfaceIServerlessCache- Parameters:
props-
-
metricCacheHitRate
(experimental) Metric for cache hit rate.- Specified by:
metricCacheHitRatein interfaceIServerlessCache- Parameters:
props-
-
metricCacheMissCount
@Stability(Experimental) @NotNull default Metric metricCacheMissCount(@Nullable MetricOptions props) (experimental) Metric for cache miss count.- Specified by:
metricCacheMissCountin interfaceIServerlessCache- Parameters:
props-
-
metricDataStored
(experimental) Metric for data stored in the cache.- Specified by:
metricDataStoredin interfaceIServerlessCache- Parameters:
props-
-
metricNetworkBytesIn
@Stability(Experimental) @NotNull default Metric metricNetworkBytesIn(@Nullable MetricOptions props) (experimental) Metric for network bytes in.- Specified by:
metricNetworkBytesInin interfaceIServerlessCache- Parameters:
props-
-
metricNetworkBytesOut
@Stability(Experimental) @NotNull default Metric metricNetworkBytesOut(@Nullable MetricOptions props) (experimental) Metric for network bytes out.- Specified by:
metricNetworkBytesOutin interfaceIServerlessCache- Parameters:
props-
-
metricProcessingUnitsConsumed
@Stability(Experimental) @NotNull default Metric metricProcessingUnitsConsumed(@Nullable MetricOptions props) (experimental) Metric for ECPUs consumed.- Specified by:
metricProcessingUnitsConsumedin interfaceIServerlessCache- Parameters:
props-
-
metricReadRequestLatency
@Stability(Experimental) @NotNull default Metric metricReadRequestLatency(@Nullable MetricOptions props) (experimental) Metric for read request latency.- Specified by:
metricReadRequestLatencyin interfaceIServerlessCache- Parameters:
props-
-
metricWriteRequestLatency
@Stability(Experimental) @NotNull default Metric metricWriteRequestLatency(@Nullable MetricOptions props) (experimental) Metric for write request latency.- Specified by:
metricWriteRequestLatencyin interfaceIServerlessCache- Parameters:
props-
-