Tracker Args
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"});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.location.Tracker("example", tracker_name="example")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
example:
type: aws:location:Tracker
properties:
trackerName: example
Content copied to clipboard
Import
Using pulumi import
, import aws_location_tracker
resources using the tracker name. For example:
$ pulumi import aws:location/tracker:Tracker example example
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
The optional description for the tracker resource.
Link copied to clipboard
The position filtering method of the tracker resource. Valid values: TimeBased
, DistanceBased
, AccuracyBased
. Default: TimeBased
.
Link copied to clipboard
The name of the tracker resource. The following arguments are optional: