Interface ServerlessCacheProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServerlessCacheProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-01T17:47:05.837Z")
@Stability(Experimental)
public interface ServerlessCacheProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for defining a ServerlessCache.
Example:
Vpc vpc; ServerlessCache serverlessCache = ServerlessCache.Builder.create(this, "ServerlessCache") .engine(CacheEngine.VALKEY_LATEST) .backup(BackupSettings.builder() // set a backup name before deleting a cache .backupNameBeforeDeletion("my-final-backup-name") .build()) .vpc(vpc) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forServerlessCacheProps
static final class
An implementation forServerlessCacheProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerlessCacheProps.Builder
builder()
default BackupSettings
(experimental) Backup configuration.default CacheUsageLimitsProperty
(experimental) Usage limits for the cache.default String
(experimental) A description for the cache.default CacheEngine
(experimental) The cache engine combined with the version Enum options: VALKEY_DEFAULT, VALKEY_7, VALKEY_8, REDIS_DEFAULT, MEMCACHED_DEFAULT The default options bring the latest versions available.default IKey
(experimental) KMS key for encryption.default List
<ISecurityGroup> (experimental) Security groups for the cache.default String
(experimental) Name for the serverless cache.default IUserGroup
(experimental) User group for access control.getVpc()
(experimental) The VPC to place the cache in.default SubnetSelection
(experimental) Which subnets to place the cache in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
(experimental) The VPC to place the cache in. -
getBackup
(experimental) Backup configuration.Default: - No backups configured
-
getCacheUsageLimits
(experimental) Usage limits for the cache.Default: - No usage limits
-
getDescription
(experimental) A description for the cache.Default: - No description
-
getEngine
(experimental) The cache engine combined with the version Enum options: VALKEY_DEFAULT, VALKEY_7, VALKEY_8, REDIS_DEFAULT, MEMCACHED_DEFAULT The default options bring the latest versions available.Default: when not provided, the default engine would be Valkey, latest version available (VALKEY_DEFAULT)
-
getKmsKey
(experimental) KMS key for encryption.Default: - Service managed encryption (AWS owned KMS key)
-
getSecurityGroups
(experimental) Security groups for the cache.Default: - A new security group is created
-
getServerlessCacheName
(experimental) Name for the serverless cache.Default: automatically generated name by Resource
-
getUserGroup
(experimental) User group for access control.Default: - No user group
-
getVpcSubnets
(experimental) Which subnets to place the cache in.Default: - Private subnets with egress
-
builder
- Returns:
- a
ServerlessCacheProps.Builder
ofServerlessCacheProps
-