aws-cdk.region-info

AWS region information, such as service principal names

Apache-2.0 652 个版本 Python >=3.10
Amazon Web Services
安装
pip install aws-cdk.region-info
poetry add aws-cdk.region-info
pipenv install aws-cdk.region-info
conda install aws-cdk.region-info
描述

AWS Region-Specific Information Directory

Usage

Some information used in CDK Applications differs from one AWS region to another, such as service principals used in IAM policies, S3 static website endpoints, ...

The RegionInfo class

The library offers a simple interface to obtain region specific information in the form of the RegionInfo class. This is the preferred way to interact with the regional information database:

# Get the information for "eu-west-1":
region = region_info.RegionInfo.get("eu-west-1")

# Access attributes:
region.s3_static_website_endpoint

The RegionInfo layer is built on top of the Low-Level API, which is described below and can be used to register additional data, including user-defined facts that are not available through the RegionInfo interface.

Low-Level API

This library offers a primitive database of such information so that CDK constructs can easily access regional information. The FactName class provides a list of known fact names, which can then be used with the RegionInfo to retrieve a particular value:

static_website = region_info.Fact.find("ap-northeast-1", region_info.FactName.S3_STATIC_WEBSITE_ENDPOINT)

Supplying new or missing information

As new regions are released, it might happen that a particular fact you need is missing from the library. In such cases, the Fact.register method can be used to inject FactName into the database:

@jsii.implements(region_info.IFact)
class MyFact:

region_info.Fact.register(MyFact())

Overriding incorrect information

In the event information provided by the library is incorrect, it can be overridden using the same Fact.register method demonstrated above, simply adding an extra boolean argument:

@jsii.implements(region_info.IFact)
class MyFact:

region_info.Fact.register(MyFact(), True)

If you happen to have stumbled upon incorrect data built into this library, it is always a good idea to report your findings in a GitHub issue, so we can fix it for everyone else!


This module is part of the AWS Cloud Development Kit project.

版本列表
2.260.0 2026-06-16
2.259.0 2026-06-12
2.258.1 2026-06-09
2.258.0 2026-06-04
2.257.0 2026-05-21
2.256.1 2026-05-20
2.256.0 2026-05-19
2.255.0 2026-05-19
2.254.0 2026-05-13
2.253.1 2026-05-08
2.253.0 2026-05-06
2.252.0 2026-04-30
2.251.0 2026-04-24
2.250.0 2026-04-14
2.249.0 2026-04-13
2.248.0 2026-04-03
2.247.0 2026-04-02
2.246.0 2026-03-31
2.245.0 2026-03-27
2.244.0 2026-03-19
2.243.0 2026-03-11
2.242.0 2026-03-10
2.241.0 2026-03-02
2.240.0 2026-02-23
2.239.0 2026-02-19
2.238.0 2026-02-09
2.237.1 2026-02-03
2.237.0 2026-02-02
2.236.0 2026-01-23
2.235.1 2026-01-19
2.235.0 2026-01-15
2.234.1 2026-01-09
2.234.0 2026-01-08
2.233.0 2025-12-18
2.232.2 2025-12-12
2.232.1 2025-12-06
2.232.0 2025-12-05
2.231.0 2025-12-01
2.230.0 2025-11-26
2.229.1 2025-11-25
2.229.0 2025-11-24
2.228.0 2025-11-24
2.227.0 2025-11-21
2.226.0 2025-11-20
2.225.0 2025-11-17
2.224.0 2025-11-13
2.223.0 2025-11-10
2.222.0 2025-11-04
2.221.1 2025-10-29
2.221.0 2025-10-24
2.220.0 2025-10-14
2.219.0 2025-10-01
2.218.0 2025-09-29
2.217.0 2025-09-25
2.216.0 2025-09-22
2.215.0 2025-09-15
2.214.1 2025-10-03
2.214.0 2025-09-02
2.213.0 2025-08-28
2.212.0 2025-08-20
2.211.0 2025-08-13
2.210.0 2025-08-06
2.209.1 2025-08-06
2.209.0 2025-08-05
2.208.0 2025-07-29
2.207.0 2025-07-24
2.206.0 2025-07-16
2.205.0 2025-07-15
2.204.0 2025-07-04
2.203.1 2025-07-02
2.203.0 2025-07-01
2.202.0 2025-06-20
2.201.0 2025-06-13
2.200.2 2025-06-12
2.200.1 2025-06-03
2.200.0 2025-06-02
2.199.0 2025-05-27
2.198.0 2025-05-23
2.197.0 2025-05-21
2.196.1 2025-05-19
2.196.0 2025-05-16
2.195.0 2025-05-07
2.194.0 2025-05-02
2.193.0 2025-04-30
2.192.0 2025-04-25
2.191.0 2025-04-23
2.190.0 2025-04-17
2.189.1 2025-04-14
2.189.0 2025-04-09
2.188.0 2025-04-04
2.187.0 2025-03-31
2.186.0 2025-03-27
2.185.0 2025-03-19
2.184.1 2025-03-14
2.184.0 2025-03-13
2.183.0 2025-03-12
2.182.0 2025-03-05
2.181.1 2025-02-28
2.181.0 2025-02-26
2.180.0 2025-02-21
2.179.0 2025-02-18
2.178.2 2025-02-12
2.178.1 2025-02-07
2.178.0 2025-02-06
2.177.0 2025-01-25
2.176.0 2025-01-15
2.175.1 2025-01-11
2.175.0 2025-01-10
2.174.1 2025-01-07
2.174.0 2025-01-04
2.173.4 2024-12-27
2.173.3 2024-12-26
2.173.2 2024-12-18
2.173.1 2024-12-14
2.173.0 2024-12-12
2.172.0 2024-12-07
2.171.1 2024-11-27
2.171.0 2024-11-25
2.170.0 2024-11-22
2.169.0 2024-11-21
2.168.0 2024-11-20
2.167.2 2024-11-19
2.167.1 2024-11-15
2.167.0 2024-11-13
2.166.0 2024-11-07
2.165.0 2024-10-31
2.164.1 2024-10-25
2.164.0 2024-10-24
2.163.1 2024-10-22
2.163.0 2024-10-22
2.162.1 2024-10-11
2.162.0 2024-10-10
2.161.1 2024-10-05
2.161.0 2024-10-04
2.160.0 2024-09-24
2.159.1 2024-09-19
2.159.0 2024-09-19
2.158.0 2024-09-11
2.157.0 2024-09-10
2.156.0 2024-09-06
2.155.0 2024-08-30
2.154.1 2024-08-23
2.154.0 2024-08-22
2.153.0 2024-08-20
2.152.0 2024-08-15
2.151.1 2024-08-14
2.151.0 2024-08-02
2.150.0 2024-07-23
2.149.0 2024-07-12
2.148.1 2024-07-11
2.148.0 2024-07-05
2.147.3 2024-07-02
2.147.2 2024-06-28
2.147.1 2024-06-24
2.147.0 2024-06-20
2.146.0 2024-06-13
2.145.0 2024-06-07
2.144.0 2024-05-31
2.143.1 2024-05-30
2.143.0 2024-05-24
2.142.1 2024-05-17
2.142.0 2024-05-15
2.141.0 2024-05-08
2.140.0 2024-05-02
2.139.1 2024-04-30
2.139.0 2024-04-24
2.138.0 2024-04-18
2.137.0 2024-04-11
2.136.1 2024-04-10
2.136.0 2024-04-06
2.135.0 2024-04-02
2.134.0 2024-03-26
2.133.0 2024-03-15
2.132.1 2024-03-12
2.132.0 2024-03-09
2.131.0 2024-03-01
2.130.0 2024-02-23
2.129.0 2024-02-21
2.128.0 2024-02-14
2.127.0 2024-02-10
2.126.0 2024-02-02
2.125.0 2024-02-01
2.124.0 2024-01-26
2.123.0 2024-01-24
2.122.0 2024-01-18
2.121.1 2024-01-13
2.121.0 2024-01-12
2.120.0 2024-01-12
2.119.0 2024-01-11
2.118.0 2024-01-03
2.117.0 2023-12-27
2.116.1 2023-12-22
2.116.0 2023-12-22
2.115.0 2023-12-14
2.114.1 2023-12-06
2.114.0 2023-12-05
2.113.0 2023-12-01
2.112.0 2023-12-01
2.111.0 2023-11-27
2.110.1 2023-11-22
2.110.0 2023-11-17
2.109.0 2023-11-16
2.108.1 2023-11-14
2.108.0 2023-11-14
2.107.0 2023-11-13
2.106.1 2023-11-11
2.106.0 2023-11-10
2.105.0 2023-11-08
2.104.0 2023-11-02
2.103.1 2023-10-27
2.103.0 2023-10-26
2.102.1 2023-10-25
2.102.0 2023-10-19
2.101.1 2023-10-16
2.101.0 2023-10-13
2.100.0 2023-10-06
2.99.1 2023-09-30
2.99.0 2023-09-27
2.98.0 2023-09-26
2.97.1 2023-09-26
2.97.0 2023-09-22
2.96.2 2023-09-15
2.96.1 2023-09-14
2.96.0 2023-09-13
2.95.1 2023-09-09
2.95.0 2023-09-07
2.94.0 2023-09-01
2.93.0 2023-08-23
2.92.0 2023-08-15
2.91.0 2023-08-10
2.90.0 2023-08-04
2.89.0 2023-07-28
2.88.0 2023-07-20
2.87.0 2023-07-06
2.86.0 2023-06-29
2.85.0 2023-06-21
2.84.0 2023-06-14
2.83.1 2023-06-09
2.83.0 2023-06-07
2.82.0 2023-06-02
2.81.0 2023-05-25
2.80.0 2023-05-20
2.79.1 2023-05-11
2.79.0 2023-05-10
2.78.0 2023-05-04
2.77.0 2023-04-26
2.76.0 2023-04-20
2.75.1 2023-04-19
2.75.0 2023-04-18
2.74.0 2023-04-13
2.73.0 2023-04-06
2.72.1 2023-03-31
2.72.0 2023-03-29
2.71.0 2023-03-29
2.70.0 2023-03-22
2.69.0 2023-03-14
2.68.0 2023-03-08
2.67.0 2023-03-02
2.66.1 2023-02-24
2.66.0 2023-02-21
2.65.0 2023-02-15
2.64.0 2023-02-09
2.63.2 2023-02-04
2.63.1 2023-02-03
2.63.0 2023-01-31
2.62.2 2023-01-27
2.62.1 2023-01-26
2.62.0 2023-01-25
2.61.1 2023-01-20
2.61.0 2023-01-19
2.60.0 2023-01-12
2.59.0 2023-01-03
2.58.1 2022-12-30
2.58.0 2022-12-29
2.57.0 2022-12-27
2.56.1 2022-12-23
2.56.0 2022-12-21
2.55.1 2022-12-16
2.55.0 2022-12-14
2.54.0 2022-12-07
2.53.0 2022-11-29
2.52.1 2022-11-29
2.52.0 2022-11-27
2.51.1 2022-11-18
2.51.0 2022-11-18
2.50.0 2022-11-01
2.49.1 2022-11-01
2.49.0 2022-10-28
2.48.0 2022-10-27
2.47.0 2022-10-20
2.46.0 2022-10-13
2.45.0 2022-10-06
2.44.0 2022-09-29
2.43.1 2022-09-23
2.43.0 2022-09-21
2.42.1 2022-09-19
2.42.0 2022-09-16
2.41.0 2022-09-08
2.40.0 2022-09-01
2.39.1 2022-08-29
2.39.0 2022-08-25
2.38.1 2022-08-18
2.38.0 2022-08-17
2.37.1 2022-08-10
2.37.0 2022-08-09
2.36.0 2022-08-08
2.35.0 2022-08-02
2.34.2 2022-07-30
2.34.1 2022-07-29
2.34.0 2022-07-29
2.33.0 2022-07-19
2.32.1 2022-07-16
2.32.0 2022-07-14
2.31.2 2022-07-14
2.31.1 2022-07-09
2.31.0 2022-07-06
2.30.0 2022-07-01
2.29.1 2022-06-24
2.29.0 2022-06-23
2.28.1 2022-06-16
2.28.0 2022-06-14
2.27.0 2022-06-03
2.26.0 2022-05-30
2.25.0 2022-05-21
2.24.1 2022-05-13
2.24.0 2022-05-12
2.23.0 2022-05-04
2.22.0 2022-04-28
2.21.1 2022-04-23
2.21.0 2022-04-22
2.20.0 2022-04-07
2.19.0 2022-04-01
2.18.0 2022-03-29
2.17.0 2022-03-17
2.16.0 2022-03-12
2.15.0 2022-03-01
2.14.0 2022-02-25
2.13.0 2022-02-19
2.12.0 2022-02-09
2.11.0 2022-02-08
2.10.0 2022-01-29
2.9.0 2022-01-26
2.8.0 2022-01-13
2.7.0 2022-01-12
2.6.0 2022-01-12
2.5.0 2022-01-09
2.4.0 2022-01-06
2.3.0 2021-12-22
2.2.0 2021-12-15
2.1.0 2021-12-08
2.0.0 2021-12-02
2.0.0rc9 2021-06-23
2.0.0rc8 2021-06-16
2.0.0rc7 2021-06-09
2.0.0rc6 2021-06-02
2.0.0rc5 2021-05-28
2.0.0rc4 2021-05-19
2.0.0rc33 2021-11-26
2.0.0rc32 2021-11-25
2.0.0rc31 2021-11-23
2.0.0rc30 2021-11-17
2.0.0rc3 2021-05-12
2.0.0rc29 2021-11-10
2.0.0rc28 2021-11-09
2.0.0rc27 2021-10-27
2.0.0rc26 2021-10-26
2.0.0rc25 2021-10-22
2.0.0rc24 2021-10-13
2.0.0rc23 2021-09-23
2.0.0rc22 2021-09-22
2.0.0rc21 2021-09-08
2.0.0rc20 2021-09-01
2.0.0rc19 2021-08-25
2.0.0rc18 2021-08-18
2.0.0rc17 2021-08-11
2.0.0rc16 2021-08-04
2.0.0rc15 2021-07-28
2.0.0rc14 2021-07-21
2.0.0rc13 2021-07-20
2.0.0rc12 2021-07-19
2.0.0rc11 2021-07-07
2.0.0rc10 2021-06-30
2.0.0rc1 2021-04-29
2.0.0a6 2021-03-03
2.0.0a5 2021-02-22
2.0.0a4 2021-02-10
2.0.0a3 2021-02-03
2.0.0a2 2021-01-27
2.0.0a14 2021-04-28
2.0.0a13 2021-04-21
2.0.0a12 2021-04-21
2.0.0a11 2021-04-19
2.0.0a10 2021-04-14
2.0.0a1 2021-01-21
1.204.0 2023-06-19
1.203.0 2023-05-31
1.202.0 2023-05-22
1.201.0 2023-05-10
1.200.0 2023-04-26
1.199.0 2023-04-20
1.198.1 2023-03-31
1.198.0 2023-03-22
1.197.0 2023-03-14
1.196.0 2023-03-08
1.195.0 2023-03-02
1.194.0 2023-02-21
1.193.0 2023-02-15
1.192.0 2023-02-09
1.191.0 2023-01-31
1.190.0 2023-01-25
1.189.0 2023-01-19
1.188.0 2023-01-11
1.187.0 2023-01-03
1.186.1 2022-12-30
1.186.0 2022-12-29
1.185.0 2022-12-28
1.184.1 2022-12-23
1.184.0 2022-12-22
1.183.0 2022-12-15
1.182.0 2022-12-07
1.181.1 2022-11-29
1.181.0 2022-11-18
1.180.0 2022-11-01
1.179.0 2022-10-27
1.178.0 2022-10-20
1.177.0 2022-10-13
1.176.0 2022-10-06
1.175.0 2022-09-29
1.174.0 2022-09-22
1.173.0 2022-09-16
1.172.0 2022-09-08
1.171.0 2022-08-31
1.170.1 2022-08-31
1.170.0 2022-08-25
1.169.0 2022-08-18
1.168.0 2022-08-09
1.167.0 2022-08-02
1.166.1 2022-07-29
1.165.0 2022-07-19
1.164.0 2022-07-16
1.163.2 2022-07-14
1.163.1 2022-07-09
1.163.0 2022-07-06
1.162.0 2022-07-01
1.161.0 2022-06-23
1.160.0 2022-06-14
1.159.0 2022-06-03
1.158.0 2022-05-27
1.157.0 2022-05-21
1.156.1 2022-05-13
1.156.0 2022-05-12
1.155.0 2022-05-04
1.154.0 2022-04-28
1.153.1 2022-04-23
1.153.0 2022-04-22
1.152.0 2022-04-07
1.151.0 2022-04-01
1.150.0 2022-03-26
1.149.0 2022-03-17
1.148.0 2022-03-10
1.147.0 2022-03-01
1.146.0 2022-02-25
1.145.0 2022-02-19
1.144.0 2022-02-08
1.143.0 2022-02-02
1.142.0 2022-01-29
1.141.0 2022-01-27
1.140.0 2022-01-20
1.139.0 2022-01-11
1.138.2 2022-01-10
1.138.1 2022-01-07
1.138.0 2022-01-04
1.137.0 2021-12-21
1.136.0 2021-12-15
1.135.0 2021-12-10
1.134.0 2021-11-23
1.133.0 2021-11-19
1.132.0 2021-11-09
1.131.0 2021-11-07
1.130.0 2021-10-29
1.129.0 2021-10-21
1.128.0 2021-10-14
1.127.0 2021-10-08
1.126.0 2021-10-05
1.125.0 2021-09-29
1.124.0 2021-09-21
1.123.0 2021-09-17
1.122.0 2021-09-08
1.121.0 2021-09-01
1.120.0 2021-08-26
1.119.0 2021-08-17
1.118.0 2021-08-11
1.117.0 2021-08-05
1.116.0 2021-07-28
1.115.0 2021-07-21
1.114.0 2021-07-15
1.113.0 2021-07-12
1.112.0 2021-07-09
1.111.0 2021-07-02
1.110.1 2021-06-28
1.110.0 2021-06-24
1.109.0 2021-06-17
1.108.1 2021-06-11
1.108.0 2021-06-09
1.107.0 2021-06-02
1.106.1 2021-05-26
1.106.0 2021-05-25
1.105.0 2021-05-19
1.104.0 2021-05-15
1.103.0 2021-05-10
1.102.0 2021-05-04
1.101.0 2021-04-28
1.100.0 2021-04-20
1.99.0 2021-04-19
1.98.0 2021-04-12
1.97.0 2021-04-06
1.96.0 2021-04-01
1.95.2 2021-04-01
1.95.1 2021-03-26
1.95.0 2021-03-25
1.94.1 2021-03-17
1.94.0 2021-03-16
1.93.0 2021-03-11
1.92.0 2021-03-06
1.91.0 2021-02-23
1.90.1 2021-02-19
1.90.0 2021-02-17
1.89.0 2021-02-09
1.88.0 2021-02-04
1.87.1 2021-01-28
1.87.0 2021-01-27
1.86.0 2021-01-21
1.85.0 2021-01-14
1.84.0 2021-01-12
1.83.0 2021-01-06
1.82.0 2021-01-03
1.81.0 2020-12-31
1.80.0 2020-12-22
1.79.0 2020-12-17
1.78.0 2020-12-12
1.77.0 2020-12-07
1.76.0 2020-12-01
1.75.0 2020-11-24
1.74.0 2020-11-17
1.73.0 2020-11-11
1.72.0 2020-11-06
1.71.0 2020-10-29
1.70.0 2020-10-24
1.69.0 2020-10-19
1.68.0 2020-10-15
1.67.0 2020-10-07
1.66.0 2020-10-02
1.65.0 2020-10-01
1.64.1 2020-09-25
1.64.0 2020-09-24
1.63.0 2020-09-14
1.62.0 2020-09-04
1.61.1 2020-08-28
1.61.0 2020-08-27
1.60.0 2020-08-20
1.59.0 2020-08-15
1.58.0 2020-08-12
1.57.0 2020-08-07
1.56.0 2020-08-01
1.55.0 2020-07-28
1.54.0 2020-07-22
1.53.0 2020-07-20
1.52.0 2020-07-18
1.51.0 2020-07-09
1.50.0 2020-07-07
1.49.1 2020-07-02
1.49.0 2020-07-02
1.48.0 2020-07-01
1.47.1 2020-06-30
1.47.0 2020-06-24
1.46.0 2020-06-20
1.45.0 2020-06-09
1.44.0 2020-06-04
1.43.0 2020-06-04
1.42.1 2020-06-01
1.42.0 2020-05-27
1.41.0 2020-05-21
1.40.0 2020-05-20
1.39.0 2020-05-16
1.38.0 2020-05-08
1.37.0 2020-05-05
1.36.1 2020-04-29
1.36.0 2020-04-28
1.35.0 2020-04-24
1.34.1 2020-04-22
1.34.0 2020-04-21
1.33.1 2020-04-19
1.33.0 2020-04-17
1.32.2 2020-04-10
1.32.1 2020-04-09
1.32.0 2020-04-07
1.31.0 2020-03-24
1.30.0 2020-03-18
1.29.0 2020-03-18
1.28.0 2020-03-16
1.27.0 2020-03-03
1.26.0 2020-02-26
1.25.0 2020-02-19
1.24.0 2020-02-14
1.23.0 2020-02-07
1.22.0 2020-01-23
1.21.1 2020-01-16
1.21.0 2020-01-16
1.20.0 2020-01-07
1.19.0 2019-12-17
1.18.0 2019-11-25
1.17.1 2019-11-19
1.17.0 2019-11-19
1.16.3 2019-11-13
1.16.2 2019-11-12
1.16.1 2019-11-12
1.16.0 2019-11-11
1.15.0 2019-10-28
1.14.0 2019-10-22
1.13.1 2019-10-15
1.13.0 2019-10-15
1.12.0 2019-10-07
1.11.0 2019-10-02
1.10.1 2019-10-01
1.10.0 2019-09-30
1.9.0 2019-09-20
1.8.0 2019-09-10
1.7.0 2019-09-06
1.6.1 2019-08-29
1.6.0 2019-08-27
1.5.0 2019-08-21
1.4.0 2019-08-14
1.3.0 2019-08-02
1.2.0 2019-07-25
1.1.0 2019-07-19
1.0.0 2019-07-11
0.39.0 2019-07-09
0.38.0 2019-07-08
0.37.0 2019-07-04
0.36.2 2019-07-03
0.36.1 2019-07-01
0.36.0 2019-06-25
0.35.0 2019-06-19
0.34.0 2019-06-10
0.33.0 2019-05-30
0.32.0 2019-05-24
0.31.0 2019-05-07
0.30.0 2019-05-02
0.29.0 2019-04-24
0.28.0 2019-04-04
0.27.0 2019-03-28
0.26.0 2019-03-28