AWS::Location::TrackerConsumer - AWS CloudFormation


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.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Type" : "AWS::Location::TrackerConsumer", "Properties" : { "ConsumerArn" : String, "TrackerName" : String } }


Type: AWS::Location::TrackerConsumer Properties: ConsumerArn: String TrackerName: 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

Required: Yes

Type: String

Minimum: 0

Maximum: 1600

Pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$

Update requires: Replacement


The name for the tracker resource.


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

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Pattern: ^[-._\w]+$

Update requires: Replacement

Return values


When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the GeofenceCollection name.

For more information about using the Reffunction, see Ref.