aws-cdk.aws-location-alpha
The CDK Construct Library for AWS::Location
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-alphauv
uv add aws-cdk-aws-location-alphapoetry
poetry add aws-cdk-aws-location-alphaInstalling 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
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
aws-cdk.aws-cognitoProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-neptune-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-s3tables-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-kmsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-apigatewayProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-codestar-alphaProvides AWS CDK constructs for AWS CodeStar…
permissive · top 15,000 on PyPI
aws-cdk.aws-efsProvides CDK constructs to define Amazon EFS…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisfirehose-destinations-alphaProvides AWS CDK constructs for configuring…
permissive · top 15,000 on PyPI
aws-cdk.aws-lambdaDefines AWS Lambda functions and layers as…
permissive · top 15,000 on PyPI
aws-cdk.aws-signerProvides AWS CDK constructs for defining…
permissive · top 15,000 on PyPI