aws / aws/aws-cdk

InstanceProps: Unable to set CACertificateIdentifier

Open
#31,042 4 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-cloudformation effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Following this issue: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/211 ability to set the CACertificateIdentifier was supported in Cloudformation, which i see is also supported in the DBInstance type in CDK. The issue is that if someone wants to use InstanceProps, they have no way via CDK to fix the issue.

### Use Case

When regularly needing to update cert auth identifiers via CDK with InstanceProps, there is no way to do so.

### Proposed Solution

allow passing the CACertificateIdentifier property to avoid drift in infra code vs actual infra

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2.118.0 (build a40f2ec)

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

MacOS, Sonoma 14.6...

Contributor guide

Open the contributing guide

Research direction

Start by comparing the DBInstance type, which already supports CACertificateIdentifier, with the InstanceProps path described in the issue. Trace how InstanceProps is converted into the DBInstance configuration and inspect the related tests. Done means users can provide CACertificateIdentifier through InstanceProps and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.