CreateServerlessCacheRequest
¶
Source code in docs_src/capo_elasticache/types/create_serverless_cache_request.py
cache_usage_limits
instance-attribute
¶
cache_usage_limits: NotRequired[CacheUsageLimits]
Sets the cache usage limits for storage and ElastiCache Processing Units for the cache.
connection_type
instance-attribute
¶
connection_type: NotRequired[ConnectionType]
The connection type for the serverless cache. Must be either vpc | public. Use vpc to access the cache through a VPC endpoint, or public to access the cache over the internet. If not specified, defaults to vpc. This value cannot be changed after the serverless cache is created. Setting this to public requires Valkey 9 or above.
daily_snapshot_time
instance-attribute
¶
daily_snapshot_time: NotRequired[String]
The daily time that snapshots will be created from the new serverless cache. By default this number is populated with 0, i.e. no snapshots will be created on an automatic daily basis. Available for Valkey, Redis OSS and Serverless Memcached only.
description
instance-attribute
¶
description: NotRequired[String]
User-provided description for the serverless cache. The default is NULL, i.e. if no description is provided then an empty string will be returned. The maximum length is 255 characters.
engine
instance-attribute
¶
engine: NotRequired[String]
The name of the cache engine to be used for creating the serverless cache.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[String]
ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.
major_engine_version
instance-attribute
¶
major_engine_version: NotRequired[String]
The version of the cache engine that will be used to create the serverless cache.
network_type
instance-attribute
¶
network_type: NotRequired[NetworkType]
The IP protocol version used by the serverless cache. Must be either ipv4 | ipv6 | dual_stack. ipv6 is only supported with IPv6-only subnets. If not specified, defaults to ipv4, unless all provided subnets are IPv6-only, in which case it defaults to ipv6.
security_group_ids
instance-attribute
¶
security_group_ids: NotRequired[SecurityGroupIdsList]
A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.
serverless_cache_name
instance-attribute
¶
serverless_cache_name: NotRequired[String]
User-provided identifier for the serverless cache. This parameter is stored as a lowercase string.
snapshot_arns_to_restore
instance-attribute
¶
snapshot_arns_to_restore: NotRequired[SnapshotArnsList]
The ARN(s) of the snapshot that the new serverless cache will be created from. Available for Valkey, Redis OSS and Serverless Memcached only.
snapshot_retention_limit
instance-attribute
¶
snapshot_retention_limit: NotRequired[IntegerOptional]
The number of days for which ElastiCache retains automatic snapshots before deleting them. Available for Valkey, Redis OSS and Serverless Memcached only. The maximum value allowed is 35 days.
subnet_ids
instance-attribute
¶
subnet_ids: NotRequired[SubnetIdsList]
A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.