AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.location.getTracker
Explore with Pulumi AI
Retrieve information about a Location Service Tracker.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.location.getTracker({
    trackerName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.location.get_tracker(tracker_name="example")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/location"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.LookupTracker(ctx, &location.LookupTrackerArgs{
			TrackerName: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Location.GetTracker.Invoke(new()
    {
        TrackerName = "example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.LocationFunctions;
import com.pulumi.aws.location.inputs.GetTrackerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = LocationFunctions.getTracker(GetTrackerArgs.builder()
            .trackerName("example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:location:getTracker
      arguments:
        trackerName: example
Using getTracker
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTracker(args: GetTrackerArgs, opts?: InvokeOptions): Promise<GetTrackerResult>
function getTrackerOutput(args: GetTrackerOutputArgs, opts?: InvokeOptions): Output<GetTrackerResult>def get_tracker(tags: Optional[Mapping[str, str]] = None,
                tracker_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetTrackerResult
def get_tracker_output(tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                tracker_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetTrackerResult]func LookupTracker(ctx *Context, args *LookupTrackerArgs, opts ...InvokeOption) (*LookupTrackerResult, error)
func LookupTrackerOutput(ctx *Context, args *LookupTrackerOutputArgs, opts ...InvokeOption) LookupTrackerResultOutput> Note: This function is named LookupTracker in the Go SDK.
public static class GetTracker 
{
    public static Task<GetTrackerResult> InvokeAsync(GetTrackerArgs args, InvokeOptions? opts = null)
    public static Output<GetTrackerResult> Invoke(GetTrackerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTrackerResult> getTracker(GetTrackerArgs args, InvokeOptions options)
public static Output<GetTrackerResult> getTracker(GetTrackerArgs args, InvokeOptions options)
fn::invoke:
  function: aws:location/getTracker:getTracker
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Tracker
Name string - Name of the tracker resource.
 - Dictionary<string, string>
 - Key-value map of resource tags for the tracker.
 
- Tracker
Name string - Name of the tracker resource.
 - map[string]string
 - Key-value map of resource tags for the tracker.
 
- tracker
Name String - Name of the tracker resource.
 - Map<String,String>
 - Key-value map of resource tags for the tracker.
 
- tracker
Name string - Name of the tracker resource.
 - {[key: string]: string}
 - Key-value map of resource tags for the tracker.
 
- tracker_
name str - Name of the tracker resource.
 - Mapping[str, str]
 - Key-value map of resource tags for the tracker.
 
- tracker
Name String - Name of the tracker resource.
 - Map<String>
 - Key-value map of resource tags for the tracker.
 
getTracker Result
The following output properties are available:
- Create
Time string - Timestamp for when the tracker resource was created in ISO 8601 format.
 - Description string
 - Optional description for the tracker resource.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Kms
Key stringId  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - Position
Filtering string - Position filtering method of the tracker resource.
 - Dictionary<string, string>
 - Key-value map of resource tags for the tracker.
 - Tracker
Arn string - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - Tracker
Name string - Update
Time string - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
- Create
Time string - Timestamp for when the tracker resource was created in ISO 8601 format.
 - Description string
 - Optional description for the tracker resource.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Kms
Key stringId  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - Position
Filtering string - Position filtering method of the tracker resource.
 - map[string]string
 - Key-value map of resource tags for the tracker.
 - Tracker
Arn string - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - Tracker
Name string - Update
Time string - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
- create
Time String - Timestamp for when the tracker resource was created in ISO 8601 format.
 - description String
 - Optional description for the tracker resource.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - kms
Key StringId  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - position
Filtering String - Position filtering method of the tracker resource.
 - Map<String,String>
 - Key-value map of resource tags for the tracker.
 - tracker
Arn String - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - tracker
Name String - update
Time String - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
- create
Time string - Timestamp for when the tracker resource was created in ISO 8601 format.
 - description string
 - Optional description for the tracker resource.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - kms
Key stringId  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - position
Filtering string - Position filtering method of the tracker resource.
 - {[key: string]: string}
 - Key-value map of resource tags for the tracker.
 - tracker
Arn string - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - tracker
Name string - update
Time string - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
- create_
time str - Timestamp for when the tracker resource was created in ISO 8601 format.
 - description str
 - Optional description for the tracker resource.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - kms_
key_ strid  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - position_
filtering str - Position filtering method of the tracker resource.
 - Mapping[str, str]
 - Key-value map of resource tags for the tracker.
 - tracker_
arn str - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - tracker_
name str - update_
time str - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
- create
Time String - Timestamp for when the tracker resource was created in ISO 8601 format.
 - description String
 - Optional description for the tracker resource.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - kms
Key StringId  - Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
 - position
Filtering String - Position filtering method of the tracker resource.
 - Map<String>
 - Key-value map of resource tags for the tracker.
 - tracker
Arn String - ARN for the tracker resource. Used when you need to specify a resource across all AWS.
 - tracker
Name String - update
Time String - Timestamp for when the tracker resource was last updated in ISO 8601 format.
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.