Skip to content
v2.273.0

AWS::Location Construct Library ​

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

ts
import * as location from 'aws-cdk-lib/aws-location';
python
import aws_cdk.aws_location as location
java
import software.amazon.awscdk.services.location.*;
csharp
using Amazon.CDK.AWS.Location;
go
import location "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed as a separate package so that you can pin its version independently of the rest of the CDK. See the package:

<span class="package-reference">@aws-cdk/aws-location-alpha</span>

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::Location.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnAPIKeyConstruct (L1)The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.
CfnGeofenceCollectionConstruct (L1)The AWS::Location::GeofenceCollection resource specifies the ability to detect and act when a tracked device enters or exits a defined geographical boundary known as a geofence.
CfnMapConstruct (L1)The AWS::Location::Map resource specifies a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
CfnPlaceIndexConstruct (L1)Specifies a place index resource in your AWS account.
CfnRouteCalculatorConstruct (L1)Specifies a route calculator resource in your AWS account.
CfnTrackerConstruct (L1)Specifies a tracker resource in your AWS account , which lets you receive current and historical location of devices.
CfnTrackerConsumerConstruct (L1)The AWS::Location::TrackerConsumer resource specifies an association between a geofence collection and a tracker resource.
CfnAPIKey.AndroidAppPropertyStruct
CfnAPIKey.ApiKeyRestrictionsPropertyStructAPI Restrictions on the allowed actions, resources, and referers for an API key resource.
CfnAPIKey.AppleAppPropertyStruct
CfnAPIKeyPropsStructProperties for defining a CfnAPIKey.
CfnGeofenceCollectionPropsStructProperties for defining a CfnGeofenceCollection.
CfnMap.MapConfigurationPropertyStructSpecifies the map tile style selected from an available provider.
CfnMapPropsStructProperties for defining a CfnMap.
CfnPlaceIndex.DataSourceConfigurationPropertyStructSpecifies the data storage option requesting Places.
CfnPlaceIndexPropsStructProperties for defining a CfnPlaceIndex.
CfnRouteCalculatorPropsStructProperties for defining a CfnRouteCalculator.
CfnTrackerConsumerPropsStructProperties for defining a CfnTrackerConsumer.
CfnTrackerPropsStructProperties for defining a CfnTracker.