TrackerArgs

data class TrackerArgs(val description: Output<String>? = null, val kmsKeyId: Output<String>? = null, val positionFiltering: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val trackerName: Output<String>? = null) : ConvertibleToJava<TrackerArgs>

Provides a Location Service Tracker.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.location.Tracker("example", {trackerName: "example"});
import pulumi
import pulumi_aws as aws
example = aws.location.Tracker("example", tracker_name="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Location.Tracker("example", new()
{
TrackerName = "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.NewTracker(ctx, "example", &location.TrackerArgs{
TrackerName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.Tracker;
import com.pulumi.aws.location.TrackerArgs;
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) {
var example = new Tracker("example", TrackerArgs.builder()
.trackerName("example")
.build());
}
}
resources:
example:
type: aws:location:Tracker
properties:
trackerName: example

Import

Using pulumi import, import aws_location_tracker resources using the tracker name. For example:

$ pulumi import aws:location/tracker:Tracker example example

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, kmsKeyId: Output<String>? = null, positionFiltering: Output<String>? = null, tags: Output<Map<String, String>>? = null, trackerName: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The optional description for the tracker resource.

Link copied to clipboard
val kmsKeyId: Output<String>? = null

A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.

Link copied to clipboard
val positionFiltering: Output<String>? = null

The position filtering method of the tracker resource. Valid values: TimeBased, DistanceBased, AccuracyBased. Default: TimeBased.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value tags for the tracker. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val trackerName: Output<String>? = null

The name of the tracker resource. The following arguments are optional:

Functions

Link copied to clipboard
open override fun toJava(): TrackerArgs