AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.location.getTrackerAssociations
Explore with Pulumi AI
Retrieve information about Location Service Tracker Associations.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.location.getTrackerAssociations({
    trackerName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.location.get_tracker_associations(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.GetTrackerAssociations(ctx, &location.GetTrackerAssociationsArgs{
			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.GetTrackerAssociations.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.GetTrackerAssociationsArgs;
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.getTrackerAssociations(GetTrackerAssociationsArgs.builder()
            .trackerName("example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:location:getTrackerAssociations
      arguments:
        trackerName: example
Using getTrackerAssociations
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 getTrackerAssociations(args: GetTrackerAssociationsArgs, opts?: InvokeOptions): Promise<GetTrackerAssociationsResult>
function getTrackerAssociationsOutput(args: GetTrackerAssociationsOutputArgs, opts?: InvokeOptions): Output<GetTrackerAssociationsResult>def get_tracker_associations(tracker_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetTrackerAssociationsResult
def get_tracker_associations_output(tracker_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetTrackerAssociationsResult]func GetTrackerAssociations(ctx *Context, args *GetTrackerAssociationsArgs, opts ...InvokeOption) (*GetTrackerAssociationsResult, error)
func GetTrackerAssociationsOutput(ctx *Context, args *GetTrackerAssociationsOutputArgs, opts ...InvokeOption) GetTrackerAssociationsResultOutput> Note: This function is named GetTrackerAssociations in the Go SDK.
public static class GetTrackerAssociations 
{
    public static Task<GetTrackerAssociationsResult> InvokeAsync(GetTrackerAssociationsArgs args, InvokeOptions? opts = null)
    public static Output<GetTrackerAssociationsResult> Invoke(GetTrackerAssociationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTrackerAssociationsResult> getTrackerAssociations(GetTrackerAssociationsArgs args, InvokeOptions options)
public static Output<GetTrackerAssociationsResult> getTrackerAssociations(GetTrackerAssociationsArgs args, InvokeOptions options)
fn::invoke:
  function: aws:location/getTrackerAssociations:getTrackerAssociations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TrackerName string
- Name of the tracker resource associated with a geofence collection.
- TrackerName string
- Name of the tracker resource associated with a geofence collection.
- trackerName String
- Name of the tracker resource associated with a geofence collection.
- trackerName string
- Name of the tracker resource associated with a geofence collection.
- tracker_name str
- Name of the tracker resource associated with a geofence collection.
- trackerName String
- Name of the tracker resource associated with a geofence collection.
getTrackerAssociations Result
The following output properties are available:
- ConsumerArns List<string>
- List of geofence collection ARNs associated to the tracker resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- TrackerName string
- ConsumerArns []string
- List of geofence collection ARNs associated to the tracker resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- TrackerName string
- consumerArns List<String>
- List of geofence collection ARNs associated to the tracker resource.
- id String
- The provider-assigned unique ID for this managed resource.
- trackerName String
- consumerArns string[]
- List of geofence collection ARNs associated to the tracker resource.
- id string
- The provider-assigned unique ID for this managed resource.
- trackerName string
- consumer_arns Sequence[str]
- List of geofence collection ARNs associated to the tracker resource.
- id str
- The provider-assigned unique ID for this managed resource.
- tracker_name str
- consumerArns List<String>
- List of geofence collection ARNs associated to the tracker resource.
- id String
- The provider-assigned unique ID for this managed resource.
- trackerName String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.