AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Location::TrackerConsumer

CfnTrackerConsumer

The `AWS::Location::TrackerConsumer` resource specifies an association between a geofence collection and a tracker resource. The geofence collection is referred to as the *consumer* of the tracker. This allows the tracker resource to communicate location data to the linked geofence collection. > Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.

Import

import { CfnTrackerConsumer } from 'aws-cdk-lib/aws-location';

Or use the module namespace:

import * as location from 'aws-cdk-lib/aws-location';
// location.CfnTrackerConsumer

Properties

Configuration passed to the constructor as CfnTrackerConsumerProps.

consumerArnRequired
string

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`

trackerNameRequired
string

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-location
CFN TypeAWS::Location::TrackerConsumer
Properties2

External Links