elasticache: add support for import from existing instance #24857
Labels
@aws-cdk/aws-elasticache
Related to Amazon ElastiCache
@aws-cdk/aws-lambda
Related to AWS Lambda
feature-request
A feature should be added or improved.
Describe the feature
elasticache should support the ability to import an instance via a similar function as in RDS:
rds.DatabaseInstanceBase.fromDatabaseInstanceAttributes()
Use Case
When creating a lambda in a separate stack, we could import the instance to obtain its parameters, and to grant the lambda function access, etc...
Proposed Solution
Ideally we could have a fromElasticacheInstanceName()
Other Information
This ability to import an instance definition from one stack into another is supported by most other services...
Acknowledgements
CDK version used
2.71.0
Environment details (OS name and version, etc.)
Darwin XXXXX.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T8103 arm64
The text was updated successfully, but these errors were encountered: