[aws-certificatemanager] Add fromCertificateName method to Certificate object
See original GitHub issueThere is currently a fromCertificateArn
method on the Certificate
object but the problem with using this is that the ARN could change if the resource is recreated leading to any stack referencing this ARN breaking. My proposal gives, I believe, a more robust way of referencing a certificate that would survive the recreation of this resource.
Use Case
In order to reference pre-existing certificates by their name
Proposed Solution
Create a fromCertificateName
method on the Certificate
object
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Reactions:38
- Comments:10 (5 by maintainers)
Top Results From Across the Web
AWS::CertificateManager::Certificate - AWS CloudFormation
The AWS::CertificateManager::Certificate resource requests an AWS Certificate Manager (ACM) certificate that you can use to enable secure connections.
Read more >Getting certificates ready in AWS Certificate Manager
Enter a custom domain name for your API, for example, api.example.com , in Domain name. Optionally, choose Add another name to this certificate....
Read more >Importing a certificate - AWS Documentation - Amazon.com
You can import an externally obtained certificate (that is, one provided by a third-party trust services provider) into ACM by using the AWS...
Read more >RequestCertificate - AWS Certificate Manager
To request an ACM certificate, you must specify a fully qualified domain name ... from the RFC 6125 specification of the certificate validation...
Read more >aws-cdk/aws-certificatemanager module - AWS Documentation
›@aws-cdk/aws-certificatemanager ... the certificate between stacks in the same CDK application, simply pass the Certificate object between the stacks.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @heiba. We are unable to work on this immediately, and can’t provide an update on when we will be able to get to it.
We use 👍s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.
Ok, we can keep this open for a context lookup-based
fromCertificateName
, that either operates on Tags or the Domain Names. Either option would need to handle the cases where either no such names exist, or multiple records exist with the same names.