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<String>?>? securityGroupIds, Input<List<String>?>? snapshotArnsToRestores, Input<int?>? snapshotRetentionLimit, Input<List<String>?>? subnetIds, Input<Map<String, String>?>? tags, Input<ServerlessCacheTimeouts?>? timeouts, Input<String?>? userGroupId})
Creates a new ServerlessCacheArgs. cacheUsageLimits Sets the cache usage limits for storage and ElastiCache Processing Units for the cache. See cacheUsageLimits Block for details. dailySnapshotTime The daily time that snapshots will be created from the new serverless cache. Only supported for engine types "redis" or "valkey". Defaults to 0. description User-provided description for the serverless cache. The default is NULL. engine Name of the cache engine to be used for this cache cluster. Valid values are memcached, redis or valkey. kmsKeyId ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used. majorEngineVersion The version of the cache engine that will be used to create the serverless cache. name The Cluster name which serves as a unique identifier to the serverless cache networkType IP protocol version used by the serverless cache. Valid values are ipv4, ipv6, or dualStack. 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. securityGroupIds 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. snapshotArnsToRestores 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". snapshotRetentionLimit 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". subnetIds 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. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. timeouts Optional. userGroupId The 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 cacheUsageLimits Block 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 to 0.
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, redis or valkey.
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, or dualStack. 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.
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
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration 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