We recommend new projects start with resources from the AWS provider.
aws-native.location.Tracker
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Location::Tracker Resource Type
Create Tracker Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Tracker(name: string, args?: TrackerArgs, opts?: CustomResourceOptions);@overload
def Tracker(resource_name: str,
            args: Optional[TrackerArgs] = None,
            opts: Optional[ResourceOptions] = None)
@overload
def Tracker(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            event_bridge_enabled: Optional[bool] = None,
            kms_key_enable_geospatial_queries: Optional[bool] = None,
            kms_key_id: Optional[str] = None,
            position_filtering: Optional[TrackerPositionFiltering] = None,
            pricing_plan: Optional[TrackerPricingPlan] = None,
            pricing_plan_data_source: Optional[str] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
            tracker_name: Optional[str] = None)func NewTracker(ctx *Context, name string, args *TrackerArgs, opts ...ResourceOption) (*Tracker, error)public Tracker(string name, TrackerArgs? args = null, CustomResourceOptions? opts = null)
public Tracker(String name, TrackerArgs args)
public Tracker(String name, TrackerArgs args, CustomResourceOptions options)
type: aws-native:location:Tracker
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TrackerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TrackerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TrackerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TrackerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TrackerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Tracker Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Tracker resource accepts the following input properties:
- Description string
- An optional description for the tracker resource.
- EventBridge boolEnabled 
- KmsKey boolEnable Geospatial Queries 
- KmsKey stringId 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- PositionFiltering Pulumi.Aws Native. Location. Tracker Position Filtering 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- PricingPlan Pulumi.Aws Native. Location. Tracker Pricing Plan 
- PricingPlan stringData Source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- TrackerName 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.
 
- Description string
- An optional description for the tracker resource.
- EventBridge boolEnabled 
- KmsKey boolEnable Geospatial Queries 
- KmsKey stringId 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- PositionFiltering TrackerPosition Filtering 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- PricingPlan TrackerPricing Plan 
- PricingPlan stringData Source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- TrackerName 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.
 
- description String
- An optional description for the tracker resource.
- eventBridge BooleanEnabled 
- kmsKey BooleanEnable Geospatial Queries 
- kmsKey StringId 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- positionFiltering TrackerPosition Filtering 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- pricingPlan TrackerPricing Plan 
- pricingPlan StringData Source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- trackerName 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.
 
- description string
- An optional description for the tracker resource.
- eventBridge booleanEnabled 
- kmsKey booleanEnable Geospatial Queries 
- kmsKey stringId 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- positionFiltering TrackerPosition Filtering 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- pricingPlan TrackerPricing Plan 
- pricingPlan stringData Source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- Tag[]
- An array of key-value pairs to apply to this resource.
- trackerName 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.
 
- description str
- An optional description for the tracker resource.
- event_bridge_ boolenabled 
- kms_key_ boolenable_ geospatial_ queries 
- kms_key_ strid 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- position_filtering TrackerPosition Filtering 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- pricing_plan TrackerPricing Plan 
- pricing_plan_ strdata_ source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- tracker_name str
- 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.
 
- description String
- An optional description for the tracker resource.
- eventBridge BooleanEnabled 
- kmsKey BooleanEnable Geospatial Queries 
- kmsKey StringId 
- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- positionFiltering "TimeBased" | "Distance Based" | "Accuracy Based" 
- Specifies the position filtering for the tracker resource. - Valid values: - TimeBased- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
- DistanceBased- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
- AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
 - This field is optional. If not specified, the default value is - TimeBased.
- pricingPlan "RequestBased Usage" 
- pricingPlan StringData Source 
- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- trackerName 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.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the Tracker resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- CreateTime string
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- Id string
- The provider-assigned unique ID for this managed resource.
- TrackerArn string
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- UpdateTime string
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- Arn string
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- CreateTime string
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- Id string
- The provider-assigned unique ID for this managed resource.
- TrackerArn string
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- UpdateTime string
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- arn String
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- createTime String
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- id String
- The provider-assigned unique ID for this managed resource.
- trackerArn String
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- updateTime String
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- arn string
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- createTime string
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- id string
- The provider-assigned unique ID for this managed resource.
- trackerArn string
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- updateTime string
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- arn str
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- create_time str
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- id str
- The provider-assigned unique ID for this managed resource.
- tracker_arn str
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- update_time str
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- arn String
- The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- createTime String
- The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
- id String
- The provider-assigned unique ID for this managed resource.
- trackerArn String
- Synonym for Arn. The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .- Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
 
- Format example: 
- updateTime String
- The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
Supporting Types
Tag, TagArgs  
TrackerPositionFiltering, TrackerPositionFilteringArgs      
- TimeBased 
- TimeBased
- DistanceBased 
- DistanceBased
- AccuracyBased 
- AccuracyBased
- TrackerPosition Filtering Time Based 
- TimeBased
- TrackerPosition Filtering Distance Based 
- DistanceBased
- TrackerPosition Filtering Accuracy Based 
- AccuracyBased
- TimeBased 
- TimeBased
- DistanceBased 
- DistanceBased
- AccuracyBased 
- AccuracyBased
- TimeBased 
- TimeBased
- DistanceBased 
- DistanceBased
- AccuracyBased 
- AccuracyBased
- TIME_BASED
- TimeBased
- DISTANCE_BASED
- DistanceBased
- ACCURACY_BASED
- AccuracyBased
- "TimeBased" 
- TimeBased
- "DistanceBased" 
- DistanceBased
- "AccuracyBased" 
- AccuracyBased
TrackerPricingPlan, TrackerPricingPlanArgs      
- RequestBased Usage 
- RequestBasedUsage
- TrackerPricing Plan Request Based Usage 
- RequestBasedUsage
- RequestBased Usage 
- RequestBasedUsage
- RequestBased Usage 
- RequestBasedUsage
- REQUEST_BASED_USAGE
- RequestBasedUsage
- "RequestBased Usage" 
- RequestBasedUsage
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.