skillfed

aws-cdk.aws-location-alpha

The CDK Construct Library for AWS::Location

aws-cdk-aws-location-alpha v2.265.0a0 179.7K downloads/30d#10,166 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This package is an experimental AWS CDK construct library that wraps Amazon Location Service resources into Python-friendly infrastructure-as-code components. It lets you define geofence collections (virtual boundaries for location tracking), trackers (device position storage and history), maps, place indexes (geolocation search), route calculators, and API keys as CDK constructs rather than raw CloudFormation or SDK calls.

The library is part of the broader AWS CDK ecosystem and depends on aws-cdk-lib, constructs, jsii, and publication. It's actively maintained but explicitly marked as experimental—the APIs may change in breaking ways between releases without following semantic versioning. Use it when you're building location-enabled applications on AWS and want to manage Location Service infrastructure through CDK, but be prepared to update code when upgrading versions.

Use it for:

  • Build geofence-based alerts by defining geofence collections and trackers as CDK constructs in a Python CDK app.
  • Create location-aware applications with maps and place search by provisioning Map and PlaceIndex resources via CDK.
  • Grant IAM permissions to Location Service resources using the construct's grant() methods instead of writing raw IAM policies.
  • Manage route calculation infrastructure by defining RouteCalculator constructs with your chosen data provider (Esri or HERE).
  • Provision unauthenticated API keys for client-side Location Service calls with fine-grained action permissions.

Worth the install?

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

Provides AWS CDK constructs for building Location Service resources—geofence collections, trackers, maps, place indexes, route calculators, and API keys—with Python bindings.

Yes, if you're building on AWS CDK and need Location Service infrastructure. Install friction is low and maintenance is active. However, the experimental status means breaking changes are possible on upgrade—pin your version and test upgrades carefully. No known security vulnerabilities. The permissive Apache-2.0 license poses no legal barrier.

Install

aws-cdk-aws-location-alpha on PyPI

pip

pip install aws-cdk-aws-location-alpha

uv

uv add aws-cdk-aws-location-alpha

poetry

poetry add aws-cdk-aws-location-alpha

Installing aws-cdk.aws-location-alpha

Before you install

Active maintenance with a recent release (1 day old) and low install friction. Depends on aws-cdk-lib, constructs, jsii, and publication—all standard CDK ecosystem packages. Supports Python 3.10 through 3.14.

License in practice

Licensed under Apache-2.0 (permissive), so you can use, modify, and distribute this package freely in commercial and open-source projects without significant legal constraints.

Quickstart

pip install aws-cdk-aws-location-alpha

from aws_cdk import aws_location as location
from aws_cdk import aws_kms as kms

geofence_collection = location.GeofenceCollection(
    self, "GeofenceCollection",
    geofence_collection_name="MyGeofenceCollection",
    kms_key=kms_key
)

Requires AWS CDK to be installed and an active AWS environment; constructs are experimental and subject to breaking changes between releases.

Verify before relying

  • Stability guarantees and timeline for graduating from alpha/experimental status.
  • Performance characteristics or limits for geofence collections and trackers at scale.
  • Data provider costs and regional availability for Esri and HERE integrations.

Package facts

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

Evidence: aws_cdk_aws_location_alpha-2.265.0a0-py3-none-any.whl

Development Status :: 4 - BetaFramework :: 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 location service cdkgeofence collection constructtracker management cdkaws location maps pythonroute calculator constructplace index cdklocation-based services infrastructure
aws-cdklocation-servicesinfrastructure-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-cognito

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-neptune-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3tables-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-kms

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-apigateway

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-codestar-alpha

Provides AWS CDK constructs for AWS CodeStar…

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-kinesisfirehose-destinations-alpha

Provides AWS CDK constructs for configuring…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda

Defines AWS Lambda functions and layers as…

permissive · top 15,000 on PyPI

aws-cdk.aws-signer

Provides AWS CDK constructs for defining…

permissive · top 15,000 on PyPI