ServerlessCacheArgs class
The set of arguments for ServerlessCache. The set of arguments for ServerlessCache.
Constructors
-
ServerlessCacheArgs({Input<
ServerlessCacheCacheUsageLimits?> ? cacheUsageLimits, Input<String?> ? dailySnapshotTime, Input<String?> ? description, required Input<String> engine, Input<String?> ? kmsKeyId, Input<String?> ? majorEngineVersion, Input<String?> ? name, Input<String?> ? networkType, Input<String?> ? region, Input<List< ? securityGroupIds, Input<String> ?>List< ? snapshotArnsToRestores, Input<String> ?>int?> ? snapshotRetentionLimit, Input<List< ? subnetIds, Input<String> ?>Map< ? tags, Input<String, String> ?>ServerlessCacheTimeouts?> ? timeouts, Input<String?> ? userGroupId}) -
Creates a new ServerlessCacheArgs.
cacheUsageLimitsSets the cache usage limits for storage and ElastiCache Processing Units for the cache. SeecacheUsageLimitsBlock for details.dailySnapshotTimeThe daily time that snapshots will be created from the new serverless cache. Only supported for engine types"redis"or"valkey". Defaults to0.descriptionUser-provided description for the serverless cache. The default is NULL.engineName of the cache engine to be used for this cache cluster. Valid values arememcached,redisorvalkey.kmsKeyIdARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.majorEngineVersionThe version of the cache engine that will be used to create the serverless cache.nameThe Cluster name which serves as a unique identifier to the serverless cachenetworkTypeIP protocol version used by the serverless cache. Valid values areipv4,ipv6, ordualStack.ipv6is only supported with IPv6-only subnets. If not specified, defaults toipv4, unless all provided subnets are IPv6-only, in which case it defaults toipv6.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.securityGroupIdsA 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.snapshotArnsToRestoresThe list of ARN(s) of the snapshot that the new serverless cache will be created from. Only supported for engine types"redis"or"valkey".snapshotRetentionLimitThe number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Only supported for engine types"redis"or"valkey".subnetIdsA 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.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timeoutsOptional.userGroupIdThe identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.const -
ServerlessCacheArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cacheUsageLimits
→ Input<
ServerlessCacheCacheUsageLimits?> ? -
Sets the cache usage limits for storage and ElastiCache Processing Units for the cache. See
cacheUsageLimitsBlock for details.final -
dailySnapshotTime
→ Input<
String?> ? -
The daily time that snapshots will be created from the new serverless cache. Only supported for engine types
"redis"or"valkey". Defaults to0.final -
description
→ Input<
String?> ? -
User-provided description for the serverless cache. The default is NULL.
final
-
engine
→ Input<
String> -
Name of the cache engine to be used for this cache cluster. Valid values are
memcached,redisorvalkey.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
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.
final
-
majorEngineVersion
→ Input<
String?> ? -
The version of the cache engine that will be used to create the serverless cache.
See Describe Cache Engine Versions in the AWS Documentation for supported versions.
final
-
name
→ Input<
String?> ? -
The Cluster name which serves as a unique identifier to the serverless cache
final
-
networkType
→ Input<
String?> ? -
IP protocol version used by the serverless cache. Valid values are
ipv4,ipv6, ordualStack.ipv6is only supported with IPv6-only subnets. If not specified, defaults toipv4, unless all provided subnets are IPv6-only, in which case it defaults toipv6.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityGroupIds
→ Input<
List< ?String> ?> -
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.
final
-
snapshotArnsToRestores
→ Input<
List< ?String> ?> -
The list of ARN(s) of the snapshot that the new serverless cache will be created from. Only supported for engine types
"redis"or"valkey".final -
snapshotRetentionLimit
→ Input<
int?> ? -
The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Only supported for engine types
"redis"or"valkey".final -
subnetIds
→ Input<
List< ?String> ?> -
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.
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
timeouts
→ Input<
ServerlessCacheTimeouts?> ? -
final
-
userGroupId
→ Input<
String?> ? -
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited