import * as core from "@terrascript/core"; export interface ConfigurationArgs extends core.SchemaArgs { style: string | core.StringOut; } export class Configuration extends core.Schema { @core.attr(String) public style!: string | core.StringOut; } export interface MapArgs extends core.ResourceArgs { /** * (Required) Configuration block with the map style selected from an available data provider. Detailed * below. */ configuration: Configuration; /** * (Optional) An optional description for the map resource. */ description?: string | core.StringOut; /** * (Required) The name for the map resource. */ mapName: string | core.StringOut; /** * (Optional) Key-value tags for the map. If configured with a provider [`default_tags` configuration b * lock](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-b * lock) 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; } export class Map extends core.Resource { /** * (Required) Configuration block with the map style selected from an available data provider. Detailed * below. */ @core.attr(Configuration) public configuration!: Configuration; /** * The timestamp for when the map resource was created in ISO 8601 format. */ @core.attr(String, { computed: true }) public createTime!: string | core.StringOut; /** * (Optional) An optional description for the map resource. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS. */ @core.attr(String, { computed: true }) public mapArn!: string | core.StringOut; /** * (Required) The name for the map resource. */ @core.attr(String) public mapName!: string | core.StringOut; /** * (Optional) Key-value tags for the map. If configured with a provider [`default_tags` configuration b * lock](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-b * lock) 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 timestamp for when the map resource was last updated in ISO 8601 format. */ @core.attr(String, { computed: true }) public updateTime!: string | core.StringOut; constructor(name: string, args?: MapArgs) { super(name, "aws_location_map", args); } public override getNamespace(): string { return "aws_location"; } }