Skip to content

Resource: awsLocationMap

Provides a Location Service Map.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.locationMap.LocationMap(this, "example", {
  configuration: {
    style: "VectorHereBerlin",
  },
  mapName: "example",
});

Argument Reference

The following arguments are required:

  • configuration - (Required) Configuration block with the map style selected from an available data provider. Detailed below.
  • mapName - (Required) The name for the map resource.

The following arguments are optional:

  • description - (Optional) An optional description for the map resource.
  • tags - (Optional) Key-value tags for the map. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

configuration

The following arguments are required:

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • createTime - The timestamp for when the map resource was created in ISO 8601 format.
  • mapArn - The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
  • updateTime - The timestamp for when the map resource was last updated in ISO 8601 format.

Import

awsLocationMap resources can be imported using the map name, e.g.:

$ terraform import aws_location_map.example example