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 |
Full Usage:
AutoMinorVersionUpgrade
Field type: bool voption
|
|
Full Usage:
CacheNodeType
Field type: string option
|
|
Full Usage:
CacheSubnetGroupName
Field type: string option
|
|
Full Usage:
ClusterName
Field type: string
|
|
Full Usage:
ConstructId
Field type: string option
|
|
Full Usage:
Engine
Field type: string option
|
|
Full Usage:
EngineVersion
Field type: string option
|
|
Full Usage:
NumCacheNodes
Field type: int voption
|
|
Full Usage:
Port
Field type: int voption
|
|
Full Usage:
PreferredAvailabilityZone
Field type: string option
|
|
Full Usage:
PreferredMaintenanceWindow
Field type: string option
|
|
Full Usage:
SecurityGroupIds
Field type: string list
|
|
Full Usage:
SnapshotRetentionLimit
Field type: int voption
|
|
Full Usage:
SnapshotWindow
Field type: string option
|
|
Full Usage:
Tags
Field type: (string * string) list
|
|
FsCDK