# TrackerConsumerReference

A reference to a TrackerConsumer 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 trackerConsumerReference: interfaces_location.TrackerConsumerReference = {
  consumerArn: 'consumerArn',
  trackerName: 'trackerName',
};
```

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

tracker_consumer_reference = interfaces_location.TrackerConsumerReference(
    consumer_arn="consumerArn",
    tracker_name="trackerName"
)
```

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.*;

TrackerConsumerReference trackerConsumerReference = TrackerConsumerReference.builder()
        .consumerArn("consumerArn")
        .trackerName("trackerName")
        .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 trackerConsumerReference = new TrackerConsumerReference {
    ConsumerArn = "consumerArn",
    TrackerName = "trackerName"
};
```

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"

trackerConsumerReference := &TrackerConsumerReference{
	ConsumerArn: jsii.String("consumerArn"),
	TrackerName: jsii.String("trackerName"),
}
```

## Properties

- `consumerArn`: string (required) — The ConsumerArn of the TrackerConsumer resource.

- `trackerName`: string (required) — The TrackerName of the TrackerConsumer resource.
