aws / aws/aws-cdk

[core] Providing an official string constants Service principal and Managed Policy, etc

Open
#10,296 4 comments 19 reactions 0 assignees View on GitHub
@aws-cdk/core @aws-cdk/region-info effort/large feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Similar to this repo here: https://github.com/kevinslin/cdk-constants/blob/master/lib/services.ts
I would love to have an AWS officially maintained constant files with all the available Service Principal and Manged policy, service name, service endpoint, etc.

### Use Case
It makes development on CDK much faster without the need for me look up any IAM documents on the web and I could just simply import an value.

Also, having an official list of constants gives me the comfort that I don't need to worry about that the list contains outdated or unsupported strings.

### Proposed Solution

Should be a simple TS file exporting all the constants.
Would need some AWS internal validations that those are correct.

### Other

* :wave: I may be able to implement this feature request

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced lib/services.ts example and the AWS CDK TypeScript structure. The issue does not name a target file or tests, so first clarify which constant categories and validation sources are in scope. Done would require an agreed set of officially maintained constants with AWS validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
authorization, cloud, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.