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

@Internal public static interface IServerlessCache.Jsii$Default extends IServerlessCache, IResource.Jsii$Default, IConnectable.Jsii$Default
Internal default implementation for IServerlessCache.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
      Specified by:
      getNode in interface IResource.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment 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 interface IResource
      Specified by:
      getEnv in interface IResource.Jsii$Default
    • getStack

      @Stability(Stable) @NotNull default Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IResource
      Specified by:
      getStack in interface IResource.Jsii$Default
    • getConnections

      @Stability(Stable) @NotNull default Connections getConnections()
      The network connections associated with this resource.
      Specified by:
      getConnections in interface IConnectable
      Specified by:
      getConnections in interface IConnectable.Jsii$Default
    • getServerlessCacheArn

      @Stability(Experimental) @NotNull default String getServerlessCacheArn()
      (experimental) The ARN of the serverless cache.
      Specified by:
      getServerlessCacheArn in interface IServerlessCache
    • getServerlessCacheName

      @Stability(Experimental) @NotNull default String getServerlessCacheName()
      (experimental) The name of the serverless cache.
      Specified by:
      getServerlessCacheName in interface IServerlessCache
    • getBackupArnsToRestore

      @Stability(Experimental) @Nullable default List<String> getBackupArnsToRestore()
      (experimental) The ARNs of backups restored in the cache.
      Specified by:
      getBackupArnsToRestore in interface IServerlessCache
    • getEngine

      @Stability(Experimental) @Nullable default CacheEngine getEngine()
      (experimental) The cache engine used by this cache.
      Specified by:
      getEngine in interface IServerlessCache
    • getKmsKey

      @Stability(Experimental) @Nullable default IKey getKmsKey()
      (experimental) The KMS key used for encryption.
      Specified by:
      getKmsKey in interface IServerlessCache
    • getSecurityGroups

      @Stability(Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
      (experimental) The security groups associated with this cache.
      Specified by:
      getSecurityGroups in interface IServerlessCache
    • getSubnets

      @Stability(Experimental) @Nullable default List<ISubnet> getSubnets()
      (experimental) The subnets this cache is deployed in.
      Specified by:
      getSubnets in interface IServerlessCache
    • getUserGroup

      @Stability(Experimental) @Nullable default IUserGroup getUserGroup()
      (experimental) The user group associated with this cache.
      Specified by:
      getUserGroup in interface IServerlessCache
    • getVpc

      @Stability(Experimental) @Nullable default IVpc getVpc()
      (experimental) The VPC this cache is deployed in.
      Specified by:
      getVpc in interface IServerlessCache
    • applyRemovalPolicy

      @Stability(Stable) default void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      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 interface IResource
      Specified by:
      applyRemovalPolicy in interface IResource.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 interface IServerlessCache
      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantConnect

      @Stability(Experimental) @NotNull default Grant grantConnect(@NotNull IGrantable grantee)
      (experimental) Grant connect permissions to the cache.

      Specified by:
      grantConnect in interface IServerlessCache
      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 interface IServerlessCache
      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 interface IServerlessCache
      Parameters:
      props -
    • metricCacheHitCount

      @Stability(Experimental) @NotNull default Metric metricCacheHitCount(@Nullable MetricOptions props)
      (experimental) Metric for cache hit count.

      Specified by:
      metricCacheHitCount in interface IServerlessCache
      Parameters:
      props -
    • metricCacheHitRate

      @Stability(Experimental) @NotNull default Metric metricCacheHitRate(@Nullable MetricOptions props)
      (experimental) Metric for cache hit rate.

      Specified by:
      metricCacheHitRate in interface IServerlessCache
      Parameters:
      props -
    • metricCacheMissCount

      @Stability(Experimental) @NotNull default Metric metricCacheMissCount(@Nullable MetricOptions props)
      (experimental) Metric for cache miss count.

      Specified by:
      metricCacheMissCount in interface IServerlessCache
      Parameters:
      props -
    • metricDataStored

      @Stability(Experimental) @NotNull default Metric metricDataStored(@Nullable MetricOptions props)
      (experimental) Metric for data stored in the cache.

      Specified by:
      metricDataStored in interface IServerlessCache
      Parameters:
      props -
    • metricNetworkBytesIn

      @Stability(Experimental) @NotNull default Metric metricNetworkBytesIn(@Nullable MetricOptions props)
      (experimental) Metric for network bytes in.

      Specified by:
      metricNetworkBytesIn in interface IServerlessCache
      Parameters:
      props -
    • metricNetworkBytesOut

      @Stability(Experimental) @NotNull default Metric metricNetworkBytesOut(@Nullable MetricOptions props)
      (experimental) Metric for network bytes out.

      Specified by:
      metricNetworkBytesOut in interface IServerlessCache
      Parameters:
      props -
    • metricProcessingUnitsConsumed

      @Stability(Experimental) @NotNull default Metric metricProcessingUnitsConsumed(@Nullable MetricOptions props)
      (experimental) Metric for ECPUs consumed.

      Specified by:
      metricProcessingUnitsConsumed in interface IServerlessCache
      Parameters:
      props -
    • metricReadRequestLatency

      @Stability(Experimental) @NotNull default Metric metricReadRequestLatency(@Nullable MetricOptions props)
      (experimental) Metric for read request latency.

      Specified by:
      metricReadRequestLatency in interface IServerlessCache
      Parameters:
      props -
    • metricWriteRequestLatency

      @Stability(Experimental) @NotNull default Metric metricWriteRequestLatency(@Nullable MetricOptions props)
      (experimental) Metric for write request latency.

      Specified by:
      metricWriteRequestLatency in interface IServerlessCache
      Parameters:
      props -