aws / aws/aws-cdk

aws-certificatemanager: Support construct to create Certificate from any region, similar to EdgeFunction

Open
#25,343 49 comments 129 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

### Describe the feature

As requested and liked many times please have the Certificate Construct accept a region setting again, as it has had in DnsValidatedCertificate.
https://github.com/aws/aws-cdk/issues/9274#issuecomment-1468016764

### Use Case

Create Cloudfront distributions in one region, create the corresponding certificate in us-east-1.
Create Cognito Userpools with a custom certificate as mostafafarzaneh mentioned in the linked issue.

### Proposed Solution

_No response_

### Other Information

Also the current documentation is wrong.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.Certificate.html#validation mentions a „region“ property which does not exist in https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.CertificateValidation.html or https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.CertificationValidationProps.html

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.76.0

### Environment details (OS name and version, etc.)

Mac OS 13.3

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Certificate construct with DnsValidatedCertificate and the EdgeFunction pattern referenced in the issue. Review the CertificateValidation and CertificationValidationProps documentation, including the stated region property. Done means certificates can be created in a selected region for CloudFront or Cognito use cases, with documentation matching the supported API.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.