skillfed

aws-cdk.aws-globalaccelerator

The CDK Construct Library for AWS::GlobalAccelerator

aws-cdk-aws-globalaccelerator v1.204.0 132.5K downloads/30d#11,551 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This package provides AWS CDK constructs for defining Global Accelerator infrastructure as code in Python. Global Accelerator is an AWS service that improves application availability and performance by intercepting user connections at edge locations and routing them to redundant backends across AWS's global network. The construct library abstracts the underlying CloudFormation resources, allowing you to define accelerators, listeners, endpoint groups, and various endpoint types (Application Load Balancers, Network Load Balancers, EC2 instances, Elastic IPs) through Python code.

The package depends on core CDK libraries (aws-cdk.core, aws-cdk.aws-ec2, aws-cdk.custom-resources) and related utilities (constructs, jsii, typeguard, publication). It supports Python 3.7 through 3.11. However, AWS CDK v1 reached end-of-support on 2023-06-01, meaning this package is no longer receiving updates; users should migrate to AWS CDK v2 for ongoing support and new features.

Use it for:

  • Define multi-region traffic routing infrastructure using Global Accelerator with Application or Network Load Balancers in different AWS regions.
  • Route user traffic to geographically distributed EC2 instances or Elastic IP addresses with automatic failover and performance optimization.
  • Set up endpoint groups with custom weights and client IP preservation for advanced traffic management across regions.
  • Reference and configure security groups created by Global Accelerator for fine-grained access control to backend resources.

Worth the install?

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

Provides AWS CDK constructs to define and manage AWS Global Accelerator resources, including accelerators, listeners, and endpoint groups for routing traffic across regions.

Yes, if you are actively maintaining an AWS CDK v1 codebase that requires Global Accelerator constructs. However, plan a migration to AWS CDK v2 soon—this package is no longer updated as of 2023-06-01 and v1 has reached end-of-support. For new projects, use the v2 equivalent instead. Install friction is low and the license is permissive.

Install

aws-cdk-aws-globalaccelerator on PyPI

pip

pip install aws-cdk-aws-globalaccelerator

uv

uv add aws-cdk-aws-globalaccelerator

poetry

poetry add aws-cdk-aws-globalaccelerator

Installing aws-cdk.aws-globalaccelerator

Before you install

Low install friction with a wheel distribution. The package is in active maintenance status but reached end-of-support on 2023-06-01; AWS CDK v1 users should plan migration to v2, as this package is no longer being updated.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.

Quickstart

pip install aws-cdk.aws-globalaccelerator

from aws_cdk import aws_globalaccelerator as globalaccelerator
from aws_cdk import core

class MyStack(core.Stack):
    def __init__(self, scope: core.Construct, id: str, **kwargs):
        super().__init__(scope, id, **kwargs)
        accelerator = globalaccelerator.Accelerator(self, "Accelerator")
        listener = accelerator.add_listener("Listener",
            port_ranges=[globalaccelerator.PortRange(from_port=80)]
        )

AWS CDK v1 reached end-of-support on 2023-06-01; this package is no longer updated and migration to AWS CDK v2 is recommended.

Verify before relying

  • Whether existing v1 deployments remain functional despite end-of-support status
  • Specific migration path complexity from v1 to v2 for Global Accelerator constructs

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (~=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 7 — aws-cdk.aws-ec2, aws-cdk.core, aws-cdk.custom-resources, constructs, jsii, publication, typeguard
Maintenance actively maintained — 1,152 days since the last release
Last repo commit
First released
Downloads 132,471/month — #11,551 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk.aws_globalaccelerator-1.204.0-py3-none-any.whl

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

Tags

aws global accelerator cdkcdk global accelerator constructsaws traffic routing infrastructuremulti-region load balancing cdkglobal accelerator endpointscdk edge location routingaws accelerator listener groups
aws-cdkinfrastructure-as-codedeprecated-v1

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-elasticloadbalancing

Provides AWS CDK constructs for configuring and…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

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-ec2

Provides AWS CDK constructs for defining EC2…

permissive · top 15,000 on PyPI

aws-cdk.aws-elasticloadbalancingv2

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling

Provides CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-efs

Provides CDK constructs to define Amazon EFS…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-route53-targets

Provides Route53 alias record targets for AWS…

permissive · top 15,000 on PyPI

aws-cdk.aws-fsx

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI