aws-cdk.aws-servicediscovery
The CDK Construct Library for AWS::ServiceDiscovery
Decision gist · record as of 2026-08-14
No, unless you are maintaining an existing AWS CDK v1 codebase. This package reached end-of-support on 2023-06-01 and is no longer updated. New projects should use AWS CDK v2's service discovery constructs instead. If you are already on v1, it remains functional and has no known vulnerabilities, but migration to v2 is strongly recommended.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01 and will not receive updates.
- Low install friction with a stable dependency chain.
- However, this is an AWS CDK v1 package that reached end-of-support on 2023-06-01 and is no longer being updated; users should migrate to AWS CDK v2.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.
last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 144,696 downloads/mo, #11,146 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.aws-servicediscovery
import aws_cdk.core as cdk
import aws_cdk.aws_servicediscovery as servicediscovery
app = cdk.App()
stack = cdk.Stack(app, "stack")
namespace = servicediscovery.HttpNamespace(stack, "Namespace", name="example")
service = namespace.create_service("Service")
service.register_ip_instance("Instance", ipv4="192.0.2.1")- Whether migration tooling or documentation exists to help move existing code from v1 to v2
- Whether security patches will be backported to v1 despite end-of-support status
What it is and what it does
This package provides AWS CDK constructs for working with AWS Cloud Map, a managed service discovery system. It allows you to define and register backend services and resources that your applications depend on, supporting HTTP namespaces (API-only), private DNS namespaces (within a VPC), and public DNS namespaces (internet-accessible). You can create namespaces, define services within them, and register instances—whether IP-based, non-IP, load balancers, or CNAME records—all through infrastructure-as-code.
The package wraps AWS Cloud Map's API into CDK constructs that integrate with other AWS CDK modules like EC2, Elastic Load Balancing, and Route 53. It is built on the jsii bridge, allowing it to work across multiple programming languages. However, this is a v1 package that stopped receiving updates on 2023-06-01; new projects should use AWS CDK v2 instead.
Use it for
- Define service discovery infrastructure for microservices running in ECS or on EC2 within a VPC using private DNS namespaces.
- Register load balancers as service instances so clients can discover and route traffic to them via Cloud Map.
- Set up HTTP-based service discovery for applications that need API-driven instance registration without DNS.
- Create public DNS namespaces to register and discover services accessible over the internet with health checks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining an existing AWS CDK v1 codebase.
This package reached end-of-support on 2023-06-01 and is no longer updated. New projects should use AWS CDK v2's service discovery constructs instead. If you are already on v1, it remains functional and has no known vulnerabilities, but migration to v2 is strongly recommended.
Install
aws-cdk-aws-servicediscovery on PyPI
Before you install
Low install friction with a stable dependency chain. However, this is an AWS CDK v1 package that reached end-of-support on 2023-06-01 and is no longer being updated; users should migrate to AWS CDK v2.
Requires Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01 and will not receive updates.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.
Quickstart
pip install aws-cdk.aws-servicediscovery
import aws_cdk.core as cdk
import aws_cdk.aws_servicediscovery as servicediscovery
app = cdk.App()
stack = cdk.Stack(app, "stack")
namespace = servicediscovery.HttpNamespace(stack, "Namespace", name="example")
service = namespace.create_service("Service")
service.register_ip_instance("Instance", ipv4="192.0.2.1")
Verify before relying
- Whether migration tooling or documentation exists to help move existing code from v1 to v2
- Whether security patches will be backported to v1 despite end-of-support status
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesaws-cdk.aws-ec2aws-cdk.aws-elasticloadbalancingv2aws-cdk.aws-route53aws-cdk.coreconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 144,696 / month, #11,146 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed |
Evidence: aws_cdk.aws_servicediscovery-1.204.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AWS Cloud Map service discovery”
- aws-cdk.aws-servicediscoveryProvides AWS CDK constructs for defining and managing service…
- a2aA2A is a CLI tool that maps service names between Microsoft Azure and…
- akeyless-cloud-idRetrieves cloud identity tokens from AWS, GCP, and Azure for use in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-cdk.aws-ec2 · aws-cdk.aws-ecs · aws-cdk.aws-route53 · aws-cdk.aws-certificatemanager · aws-cdk.aws-autoscaling · datadog-cdk-constructs-v2 · aws-cdk.aws-elasticloadbalancing · aws-cdk.aws-efs · aws-cdk.aws-fsx · cdk-nag