# AWS::Location Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as location from 'aws-cdk-lib/aws-location';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Location construct libraries](https://constructs.dev/search?q=location)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Location resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Location.html) directly.

> 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](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Location.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnAPIKey`](/v2/docs/aws-cdk-lib.aws_location.CfnAPIKey) | Construct (L1) | The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer. |
| [`CfnGeofenceCollection`](/v2/docs/aws-cdk-lib.aws_location.CfnGeofenceCollection) | Construct (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. |
| [`CfnMap`](/v2/docs/aws-cdk-lib.aws_location.CfnMap) | Construct (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. |
| [`CfnPlaceIndex`](/v2/docs/aws-cdk-lib.aws_location.CfnPlaceIndex) | Construct (L1) | Specifies a place index resource in your AWS account. |
| [`CfnRouteCalculator`](/v2/docs/aws-cdk-lib.aws_location.CfnRouteCalculator) | Construct (L1) | Specifies a route calculator resource in your AWS account. |
| [`CfnTracker`](/v2/docs/aws-cdk-lib.aws_location.CfnTracker) | Construct (L1) | Specifies a tracker resource in your AWS account , which lets you receive current and historical location of devices. |
| [`CfnTrackerConsumer`](/v2/docs/aws-cdk-lib.aws_location.CfnTrackerConsumer) | Construct (L1) | The `AWS::Location::TrackerConsumer` resource specifies an association between a geofence collection and a tracker resource. |
| [`CfnAPIKey.AndroidAppProperty`](/v2/docs/aws-cdk-lib.aws_location.CfnAPIKey.AndroidAppProperty) | Struct |  |
| [`CfnAPIKey.ApiKeyRestrictionsProperty`](/v2/docs/aws-cdk-lib.aws_location.CfnAPIKey.ApiKeyRestrictionsProperty) | Struct | API Restrictions on the allowed actions, resources, and referers for an API key resource. |
| [`CfnAPIKey.AppleAppProperty`](/v2/docs/aws-cdk-lib.aws_location.CfnAPIKey.AppleAppProperty) | Struct |  |
| [`CfnAPIKeyProps`](/v2/docs/aws-cdk-lib.aws_location.CfnAPIKeyProps) | Struct | Properties for defining a `CfnAPIKey`. |
| [`CfnGeofenceCollectionProps`](/v2/docs/aws-cdk-lib.aws_location.CfnGeofenceCollectionProps) | Struct | Properties for defining a `CfnGeofenceCollection`. |
| [`CfnMap.MapConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_location.CfnMap.MapConfigurationProperty) | Struct | Specifies the map tile style selected from an available provider. |
| [`CfnMapProps`](/v2/docs/aws-cdk-lib.aws_location.CfnMapProps) | Struct | Properties for defining a `CfnMap`. |
| [`CfnPlaceIndex.DataSourceConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_location.CfnPlaceIndex.DataSourceConfigurationProperty) | Struct | Specifies the data storage option requesting Places. |
| [`CfnPlaceIndexProps`](/v2/docs/aws-cdk-lib.aws_location.CfnPlaceIndexProps) | Struct | Properties for defining a `CfnPlaceIndex`. |
| [`CfnRouteCalculatorProps`](/v2/docs/aws-cdk-lib.aws_location.CfnRouteCalculatorProps) | Struct | Properties for defining a `CfnRouteCalculator`. |
| [`CfnTrackerConsumerProps`](/v2/docs/aws-cdk-lib.aws_location.CfnTrackerConsumerProps) | Struct | Properties for defining a `CfnTrackerConsumer`. |
| [`CfnTrackerProps`](/v2/docs/aws-cdk-lib.aws_location.CfnTrackerProps) | Struct | Properties for defining a `CfnTracker`. |
