import * as core from "@terrascript/core"; export interface TrackerArgs extends core.ResourceArgs { /** * (Optional) The optional description for the tracker resource. */ description?: string | core.StringOut; /** * (Optional) A key identifier for an AWS KMS customer managed key assigned to the Amazon Location reso * urce. */ kmsKeyId?: string | core.StringOut; /** * (Optional) The position filtering method of the tracker resource. Valid values: `TimeBased`, `Distan * ceBased`, `AccuracyBased`. Default: `TimeBased`. */ positionFiltering?: string | core.StringOut; /** * (Optional) Key-value tags for the tracker. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) The name of the tracker resource. */ trackerName: string | core.StringOut; } export class Tracker extends core.Resource { /** * The timestamp for when the tracker resource was created in ISO 8601 format. */ @core.attr(String, { computed: true }) public createTime!: string | core.StringOut; /** * (Optional) The optional description for the tracker resource. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A key identifier for an AWS KMS customer managed key assigned to the Amazon Location reso * urce. */ @core.attr(String) public kmsKeyId?: string | core.StringOut; /** * (Optional) The position filtering method of the tracker resource. Valid values: `TimeBased`, `Distan * ceBased`, `AccuracyBased`. Default: `TimeBased`. */ @core.attr(String) public positionFiltering?: string | core.StringOut; /** * (Optional) Key-value tags for the tracker. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource ac * ross all AWS. */ @core.attr(String, { computed: true }) public trackerArn!: string | core.StringOut; /** * (Required) The name of the tracker resource. */ @core.attr(String) public trackerName!: string | core.StringOut; /** * The timestamp for when the tracker resource was last updated in ISO 8601 format. */ @core.attr(String, { computed: true }) public updateTime!: string | core.StringOut; constructor(name: string, args?: TrackerArgs) { super(name, "aws_location_tracker", args); } public override getNamespace(): string { return "aws_location"; } }