aws-cdk-examples
aws-cdk-examples copied to clipboard
ElastiCache using AWS CDK for Python/C#
:rocket: Feature Request
General Information
- [X] :wave: I am able to implement this feature request
- [ ] :warning: This feature might incur a breaking change
Description
Using Python/C# to stand-up ElastiCache with three options 1.) Redis Cluster, 2.) Replication Group; 3.)Replication Group with multiple shards. This implementation is going to also add parameter group, generate user credentials in Secrets Manager
Proposed Solution
This solution is going to provide a sample code to user with the following three Options, based on the configuration
1.) Redis Cluster 2.) Redis Cluster with Replication 3.) Redis Cluster with Replication and Partitioning
As far as the security, it will support both Auth Token and User Group/User per the Redis engine versions.
There will be configuration for the following items
- port number
- node type
- subnet
- engine version
- vpc id
- snapshot window
- at rest encryption
- transit encryption
- multi az
- number of node groups (shards)
- auth token mode
- user mode
It will use class inheritance to abstract common methods and variables to the super class which is shared by the child class for the three options.
Unit test will be pytest.
Environment
- CDK CLI Version:
- Example:
- Example Version:
- OS:
- Language: