> **Experimental**
>
> `@aws-cdk/aws-location-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# GeofenceCollectionProps

Properties for a geofence collection.

Extends: GeofenceCollectionProps
Used as props by: GeofenceCollection

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/geofence-collection.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-location-alpha/lib/geofence-collection.ts#L34)

## Example

```ts
declare const key: kms.Key;

new location.GeofenceCollection(this, 'GeofenceCollection', {
  geofenceCollectionName: 'MyGeofenceCollection', // optional, defaults to a generated name
  kmsKey: key, // optional, defaults to use an AWS managed key
});
```

## Properties

- `description`: string — A description for the geofence collection.

  **Default:** no description

- `geofenceCollectionName`: string — A name for the geofence collection.

  **Default:** A name is automatically generated

  Must be between 1 and 100 characters and contain only alphanumeric characters,
  hyphens, periods and underscores.

- `kmsKey`: [IKeyRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kms.IKeyRef.html) — The customer managed to encrypt your data.

  **Default:** Use an AWS managed key
