# CfnTrackerConsumerProps

Struct · External

Properties for defining a `CfnTrackerConsumer`.

Used as props by: [CfnTrackerConsumer](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_location.CfnTrackerConsumer.html)

- Source: Generated at build time

## 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 location } from 'aws-cdk-lib';
const cfnTrackerConsumerProps: location.CfnTrackerConsumerProps = {
  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 import aws_location as location

cfn_tracker_consumer_props = location.CfnTrackerConsumerProps(
    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.services.location.*;

CfnTrackerConsumerProps cfnTrackerConsumerProps = CfnTrackerConsumerProps.builder()
        .consumerArn("consumerArn")
        .trackerName("trackerName")
        .build();
```

C#:

```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.AWS.Location;

var cfnTrackerConsumerProps = new CfnTrackerConsumerProps {
    ConsumerArn = "consumerArn",
    TrackerName = "trackerName"
};
```

Go:

```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"

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

## Properties

- `consumerArn`: string (required) — The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.

  Used when you need to specify a resource across all AWS .

  - Format example: `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer`

- `trackerName`: string (required) — The name for the tracker resource.

  Requirements:

  - Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
  - Must be a unique tracker resource name.
  - No spaces allowed. For example, `ExampleTracker` .
