1. Packages
  2. AWS
  3. API Docs
  4. location
  5. getTracker
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.location.getTracker

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:location/getTracker:getTracker
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TrackerName string
    Name of the tracker resource.
    Tags Dictionary<string, string>
    Key-value map of resource tags for the tracker.
    TrackerName string
    Name of the tracker resource.
    Tags map[string]string
    Key-value map of resource tags for the tracker.
    trackerName String
    Name of the tracker resource.
    tags Map<String,String>
    Key-value map of resource tags for the tracker.
    trackerName string
    Name of the tracker resource.
    tags {[key: string]: string}
    Key-value map of resource tags for the tracker.
    tracker_name str
    Name of the tracker resource.
    tags Mapping[str, str]
    Key-value map of resource tags for the tracker.
    trackerName String
    Name of the tracker resource.
    tags Map<String>
    Key-value map of resource tags for the tracker.

    getTracker Result

    The following output properties are available:

    CreateTime 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.
    KmsKeyId string
    Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
    PositionFiltering string
    Position filtering method of the tracker resource.
    Tags Dictionary<string, string>
    Key-value map of resource tags for the tracker.
    TrackerArn string
    ARN for the tracker resource. Used when you need to specify a resource across all AWS.
    TrackerName string
    UpdateTime string
    Timestamp for when the tracker resource was last updated in ISO 8601 format.
    CreateTime 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.
    KmsKeyId string
    Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
    PositionFiltering string
    Position filtering method of the tracker resource.
    Tags map[string]string
    Key-value map of resource tags for the tracker.
    TrackerArn string
    ARN for the tracker resource. Used when you need to specify a resource across all AWS.
    TrackerName string
    UpdateTime string
    Timestamp for when the tracker resource was last updated in ISO 8601 format.
    createTime 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.
    kmsKeyId String
    Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
    positionFiltering String
    Position filtering method of the tracker resource.
    tags Map<String,String>
    Key-value map of resource tags for the tracker.
    trackerArn String
    ARN for the tracker resource. Used when you need to specify a resource across all AWS.
    trackerName String
    updateTime String
    Timestamp for when the tracker resource was last updated in ISO 8601 format.
    createTime 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.
    kmsKeyId string
    Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
    positionFiltering string
    Position filtering method of the tracker resource.
    tags {[key: string]: string}
    Key-value map of resource tags for the tracker.
    trackerArn string
    ARN for the tracker resource. Used when you need to specify a resource across all AWS.
    trackerName string
    updateTime 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_id str
    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.
    tags 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.
    createTime 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.
    kmsKeyId String
    Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
    positionFiltering String
    Position filtering method of the tracker resource.
    tags Map<String>
    Key-value map of resource tags for the tracker.
    trackerArn String
    ARN for the tracker resource. Used when you need to specify a resource across all AWS.
    trackerName String
    updateTime 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 aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi