Amazon.CDK.RegionInfo 2.274.0

Prefix Reserved
dotnet add package Amazon.CDK.RegionInfo --version 2.274.0
                    
NuGet\Install-Package Amazon.CDK.RegionInfo -Version 2.274.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Amazon.CDK.RegionInfo" Version="2.274.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Amazon.CDK.RegionInfo" Version="2.274.0" />
                    
Directory.Packages.props
<PackageReference Include="Amazon.CDK.RegionInfo" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Amazon.CDK.RegionInfo --version 2.274.0
                    
#r "nuget: Amazon.CDK.RegionInfo, 2.274.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Amazon.CDK.RegionInfo@2.274.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Amazon.CDK.RegionInfo&version=2.274.0
                    
Install as a Cake Addin
#tool nuget:?package=Amazon.CDK.RegionInfo&version=2.274.0
                    
Install as a Cake Tool

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":
var region = RegionInfo.Get("eu-west-1");

// Access attributes:
region.S3StaticWebsiteEndpoint;

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:

var staticWebsite = Fact.Find("ap-northeast-1", 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:

class MyFact : IFact
{
    public readonly void Region = "bermuda-triangle-1";
    public readonly void Name = FactName.S3_STATIC_WEBSITE_ENDPOINT;
    public readonly void Value = "s3-website.bermuda-triangle-1.nowhere.com";
}

Fact.Register(new 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:

class MyFact : IFact
{
    public readonly void Region = "us-east-1";
    public readonly void Name = FactName.S3_STATIC_WEBSITE_ENDPOINT;
    public readonly void Value = "the-correct-endpoint.amazonaws.com";
}

Fact.Register(new 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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Amazon.CDK.RegionInfo:

Package Downloads
Amazon.CDK

AWS Cloud Development Kit Core Library (Stability: Stable)

Amazon.CDK.AWS.IAM

CDK routines for easily assigning correct and minimal IAM permissions (Stability: Stable)

Amazon.CDK.AWS.EC2

The CDK Construct Library for AWS::EC2 (Stability: Stable)

Amazon.CDK.AWS.Lambda

The CDK Construct Library for AWS::Lambda (Stability: Stable)

Amazon.CDK.AWS.ElasticLoadBalancingV2

The CDK Construct Library for AWS::ElasticLoadBalancingV2 (Stability: Stable)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.274.0 0 10/20/2026
2.273.0 766 10/8/2026
2.272.0 967 9/30/2026
2.271.0 759 9/25/2026
2.270.0 776 9/17/2026
2.269.0 790 9/10/2026
2.268.0 761 9/2/2026
2.267.0 809 8/27/2026
2.266.0 885 8/19/2026
2.265.0 825 8/13/2026
2.264.0 692 8/10/2026
2.263.0 817 7/31/2026
2.262.2 685 7/29/2026
2.262.1 331 7/24/2026
2.262.0 424 7/22/2026
2.261.0 1,051 7/2/2026
2.260.0 825 6/16/2026
2.259.0 425 6/12/2026
2.258.1 491 6/9/2026
2.258.0 505 6/4/2026
Loading failed