import * as core from "@terrascript/core"; export interface RouteCalculatorArgs extends core.ResourceArgs { /** * (Required) The name of the route calculator resource. */ calculatorName: string | core.StringOut; /** * (Required) Specifies the data provider of traffic and road network data. */ dataSource: string | core.StringOut; /** * (Optional) The optional description for the route calculator resource. */ description?: string | core.StringOut; /** * (Optional) Key-value tags for the route calculator. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ 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; } export class RouteCalculator extends core.Resource { /** * The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a res * ource across AWS. */ @core.attr(String, { computed: true }) public calculatorArn!: string | core.StringOut; /** * (Required) The name of the route calculator resource. */ @core.attr(String) public calculatorName!: string | core.StringOut; /** * The timestamp for when the route calculator resource was created in ISO 8601 format. */ @core.attr(String, { computed: true }) public createTime!: string | core.StringOut; /** * (Required) Specifies the data provider of traffic and road network data. */ @core.attr(String) public dataSource!: string | core.StringOut; /** * (Optional) The optional description for the route calculator resource. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Key-value tags for the route calculator. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @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 timestamp for when the route calculator resource was last update in ISO 8601. */ @core.attr(String, { computed: true }) public updateTime!: string | core.StringOut; constructor(name: string, args?: RouteCalculatorArgs) { super(name, "aws_location_route_calculator", args); } public override getNamespace(): string { return "aws_location"; } }