aws / aws/aws-cdk

[aws-certificatemanager] Add fromCertificateName method to Certificate object

Open
#10,792 15 comments 53 reactions 0 assignees View on GitHub
@aws-cdk/aws-certificatemanager effort/large feature-request p1
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

There 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

* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by locating the Certificate object and its existing fromCertificateArn entry point, then inspect the surrounding ACM implementation. Done means pre-existing certificates can be referenced by name, with coverage for the new fromCertificateName method.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.