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.
- Event
Bridge boolEnabled - Kms
Key boolEnable Geospatial Queries - Kms
Key stringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- Position
Filtering 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
.- Pricing
Plan Pulumi.Aws Native. Location. Tracker Pricing Plan - Pricing
Plan 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.
- Tracker
Name 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.
- Event
Bridge boolEnabled - Kms
Key boolEnable Geospatial Queries - Kms
Key stringId - 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 stringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Tracker
Name 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.
- event
Bridge BooleanEnabled - kms
Key BooleanEnable Geospatial Queries - kms
Key StringId - 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 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.
- tracker
Name 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.
- event
Bridge booleanEnabled - kms
Key booleanEnable Geospatial Queries - kms
Key stringId - 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 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.
- tracker
Name 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[Tag
Args] - 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.
- event
Bridge BooleanEnabled - kms
Key BooleanEnable Geospatial Queries - kms
Key StringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- position
Filtering "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
.- pricing
Plan "RequestBased Usage" - pricing
Plan 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.
- tracker
Name 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:
- Create
Time 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.
- Tracker
Arn 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:
- Update
Time 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:
- Create
Time 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.
- Tracker
Arn 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:
- Update
Time 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:
- create
Time 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.
- tracker
Arn 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:
- update
Time 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:
- create
Time 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.
- tracker
Arn 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:
- update
Time 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:
- create
Time 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.
- tracker
Arn 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:
- update
Time 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
- Time
Based - TimeBased
- Distance
Based - DistanceBased
- Accuracy
Based - AccuracyBased
- Tracker
Position Filtering Time Based - TimeBased
- Tracker
Position Filtering Distance Based - DistanceBased
- Tracker
Position Filtering Accuracy Based - AccuracyBased
- Time
Based - TimeBased
- Distance
Based - DistanceBased
- Accuracy
Based - AccuracyBased
- Time
Based - TimeBased
- Distance
Based - DistanceBased
- Accuracy
Based - AccuracyBased
- TIME_BASED
- TimeBased
- DISTANCE_BASED
- DistanceBased
- ACCURACY_BASED
- AccuracyBased
- "Time
Based" - TimeBased
- "Distance
Based" - DistanceBased
- "Accuracy
Based" - AccuracyBased
TrackerPricingPlan, TrackerPricingPlanArgs
- Request
Based Usage - RequestBasedUsage
- Tracker
Pricing Plan Request Based Usage - RequestBasedUsage
- Request
Based Usage - RequestBasedUsage
- Request
Based Usage - RequestBasedUsage
- REQUEST_BASED_USAGE
- RequestBasedUsage
- "Request
Based 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.