@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
111 lines (110 loc) • 3.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieve information about a Location Service Tracker.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.location.getTracker({
* trackerName: "example",
* });
* ```
*/
export declare function getTracker(args: GetTrackerArgs, opts?: pulumi.InvokeOptions): Promise<GetTrackerResult>;
/**
* A collection of arguments for invoking getTracker.
*/
export interface GetTrackerArgs {
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
/**
* Key-value map of resource tags for the tracker.
*/
tags?: {
[key: string]: string;
};
/**
* Name of the tracker resource.
*/
trackerName: string;
}
/**
* A collection of values returned by getTracker.
*/
export interface GetTrackerResult {
/**
* Timestamp for when the tracker resource was created in ISO 8601 format.
*/
readonly createTime: string;
/**
* Optional description for the tracker resource.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource.
*/
readonly kmsKeyId: string;
/**
* Position filtering method of the tracker resource.
*/
readonly positionFiltering: string;
readonly region: string;
/**
* Key-value map of resource tags for the tracker.
*/
readonly tags: {
[key: string]: string;
};
/**
* ARN for the tracker resource. Used when you need to specify a resource across all AWS.
*/
readonly trackerArn: string;
readonly trackerName: string;
/**
* Timestamp for when the tracker resource was last updated in ISO 8601 format.
*/
readonly updateTime: string;
}
/**
* Retrieve information about a Location Service Tracker.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.location.getTracker({
* trackerName: "example",
* });
* ```
*/
export declare function getTrackerOutput(args: GetTrackerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTrackerResult>;
/**
* A collection of arguments for invoking getTracker.
*/
export interface GetTrackerOutputArgs {
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* Key-value map of resource tags for the tracker.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Name of the tracker resource.
*/
trackerName: pulumi.Input<string>;
}