# GeofenceCollectionReference

A reference to a GeofenceCollection resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_location as interfaces_location } from 'aws-cdk-lib/interfaces';
const geofenceCollectionReference: interfaces_location.GeofenceCollectionReference = {
  collectionName: 'collectionName',
  geofenceCollectionArn: 'geofenceCollectionArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_location as interfaces_location

geofence_collection_reference = interfaces_location.GeofenceCollectionReference(
    collection_name="collectionName",
    geofence_collection_arn="geofenceCollectionArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.location.*;

GeofenceCollectionReference geofenceCollectionReference = GeofenceCollectionReference.builder()
        .collectionName("collectionName")
        .geofenceCollectionArn("geofenceCollectionArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Location;

var geofenceCollectionReference = new GeofenceCollectionReference {
    CollectionName = "collectionName",
    GeofenceCollectionArn = "geofenceCollectionArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

geofenceCollectionReference := &GeofenceCollectionReference{
	CollectionName: jsii.String("collectionName"),
	GeofenceCollectionArn: jsii.String("geofenceCollectionArn"),
}
```

## Properties

- `collectionName`: string (required) — The CollectionName of the GeofenceCollection resource.

- `geofenceCollectionArn`: string (required) — The ARN of the GeofenceCollection resource.
