Header menu logo FsCDK

ElastiCacheRedisConfig Type

High-level ElastiCache Redis cluster builder following AWS best practices. **Default Settings:** - Engine = Redis 7.0 - Node type = cache.t3.micro (free tier eligible) - Number of nodes = 1 (single node for dev) - Port = 6379 (Redis default) - Automatic failover = disabled (single node) - Encryption at rest = enabled - Encryption in transit = enabled **Rationale:** These defaults follow AWS Well-Architected Framework: - Redis 7.0 provides latest features and security - T3.micro suitable for development and testing - Encryption enabled by default for security - Single node reduces costs for non-production **Use Cases:** - Session storage - Application caching - Real-time analytics - Leaderboards and counters **Escape Hatch:** Access the underlying CDK CfnCacheCluster via the `CacheCluster` property for advanced scenarios not covered by this builder.

Record fields

Record Field Description

AutoMinorVersionUpgrade

Full Usage: AutoMinorVersionUpgrade

Field type: bool voption
Field type: bool voption

CacheNodeType

Full Usage: CacheNodeType

Field type: string option
Field type: string option

CacheSubnetGroupName

Full Usage: CacheSubnetGroupName

Field type: string option
Field type: string option

ClusterName

Full Usage: ClusterName

Field type: string
Field type: string

ConstructId

Full Usage: ConstructId

Field type: string option
Field type: string option

Engine

Full Usage: Engine

Field type: string option
Field type: string option

EngineVersion

Full Usage: EngineVersion

Field type: string option
Field type: string option

NumCacheNodes

Full Usage: NumCacheNodes

Field type: int voption
Field type: int voption

Port

Full Usage: Port

Field type: int voption
Field type: int voption

PreferredAvailabilityZone

Full Usage: PreferredAvailabilityZone

Field type: string option
Field type: string option

PreferredMaintenanceWindow

Full Usage: PreferredMaintenanceWindow

Field type: string option
Field type: string option

SecurityGroupIds

Full Usage: SecurityGroupIds

Field type: string list
Field type: string list

SnapshotRetentionLimit

Full Usage: SnapshotRetentionLimit

Field type: int voption
Field type: int voption

SnapshotWindow

Full Usage: SnapshotWindow

Field type: string option
Field type: string option

Tags

Full Usage: Tags

Field type: (string * string) list
Field type: (string * string) list

Type something to start searching.