skillfed

aws-cdk.region-info

AWS region information, such as service principal names

aws-cdk-region-info v2.265.0 201.9K downloads/30d#9,655 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

aws-cdk.region-info is a reference database of AWS region-specific metadata needed by CDK constructs and applications. It exposes region information through a high-level RegionInfo class (querying by region name to get attributes like S3 static website endpoints) and a low-level Fact API for direct lookups by region and fact name. The library also allows registration of custom or corrected facts to override built-in data.

The package is a lightweight, pure-Python dependency with only jsii and publication as runtime requirements. It supports Python 3.10 through 3.14 and is part of the official AWS CDK ecosystem, maintained actively with no known security vulnerabilities.

Use it for:

  • Retrieve S3 static website endpoints for a given AWS region in CDK constructs.
  • Look up service principal names for IAM policies that vary by region.
  • Register custom regional facts or override incorrect built-in data for your CDK application.
  • Query region-specific configuration needed by cross-region CDK deployments.
  • Inject region-dependent metadata into CDK stacks without hardcoding values.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a queryable database of AWS region-specific information such as service principals and S3 endpoints for use in CDK applications.

Yes. This is a stable, actively maintained library with low install friction, no security issues, and permissive licensing. Install it if you are building AWS CDK applications that need region-specific metadata such as service principals or S3 endpoints; it is the standard way to access such data in the CDK ecosystem.

Install

aws-cdk-region-info on PyPI

pip

pip install aws-cdk-region-info

uv

uv add aws-cdk-region-info

poetry

poetry add aws-cdk-region-info

Installing aws-cdk.region-info

Before you install

Low install friction with a pure Python wheel. Actively maintained as part of the AWS CDK project with a recent release and no known vulnerabilities.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.

Quickstart

pip install aws-cdk.region-info

from aws_cdk import region_info

region = region_info.RegionInfo.get("eu-west-1")
endpoint = region.s3_static_website_endpoint

Requires Python 3.10 or later.

Verify before relying

  • Whether the regional fact database is kept current with new AWS regions and service changes.
  • Performance characteristics when querying large numbers of regions or facts in succession.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — jsii, publication
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 201,925/month — #9,655 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_region_info-2.265.0-py3-none-any.whl

Development Status :: 5 - Production/StableFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

aws region info lookupcdk regional dataaws service principals by regions3 endpoint regionalregion-specific aws factscdk region databaseaws regional configuration
aws-cdkinfrastructure-as-code

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

aws-cdk.aws-s3

Defines AWS S3 buckets and related resources as…

permissive · top 15,000 on PyPI

aws-cdk.aws-iam

Provides Python constructs for defining AWS IAM…

permissive · top 15,000 on PyPI

cdk-aurora-globaldatabase

Provides AWS CDK constructs to deploy Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3-assets

Packages local files and directories for…

permissive · top 15,000 on PyPI

aws-cdk.aws-secretsmanager

AWS CDK construct library for provisioning and…

permissive · top 15,000 on PyPI

aws-cdk.aws-cloudfront

Defines AWS CloudFront distributions and…

permissive · top 15,000 on PyPI

aws-cdk.aws-cloudformation

Defines AWS CloudFormation resources…

permissive · top 15,000 on PyPI

regionmask

regionmask creates spatial masks for gridded…

permissive · top 15,000 on PyPI

aws-cdk.aws-logs

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.aws-globalaccelerator

Provides AWS CDK constructs to define and…

permissive · top 15,000 on PyPI