aws / aws/aws-cdk

Add HttpNamespace.fromHttpNamespaceName (or .from...Arn) static method

Open
#7,729 6 comments 10 reactions 0 assignees View on GitHub
@aws-cdk/aws-servicediscovery effort/medium feature-request good first issue p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Right now there is only fromHttpNamespaceAttributes, which requires namespace's Arn, Id and Name, which is redundant and requires unnecessarily storing (and fetching) 3 parameters in SSM (in order to be able to 'recreate' Namespace in stacks)

Would be useful to have a similar method that'd require just one parameter.

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Locate the HttpNamespace class and its existing fromHttpNamespaceAttributes factory, then trace how namespace references are represented and tested. Done means exposing a static factory that can recreate a namespace from one name or ARN instead of requiring Arn, Id, and Name together.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
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.