AWS::Location::Map - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Location::Map

The AWS::Location::Map resource specifies a map resource in your Amazon account, which provides map tiles of different styles sourced from global location data providers.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Location::Map", "Properties" : { "Configuration" : MapConfiguration, "Description" : String, "MapName" : String, "PricingPlan" : String } }

YAML

Type: AWS::Location::Map Properties: Configuration: MapConfiguration Description: String MapName: String PricingPlan: String

Properties

Configuration

Specifies the MapConfiguration, including the map style, for the map resource that you create. The map style defines the look of maps and the data provider for your map resource.

Required: Yes

Type: MapConfiguration

Update requires: Replacement

Description

An optional description for the map resource.

Required: No

Type: String

Minimum: 0

Maximum: 1000

Update requires: Replacement

MapName

The name for the map resource.

Requirements:

  • Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

  • Must be a unique map resource name.

  • No spaces allowed. For example, ExampleMap.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Pattern: ^[-._\w]+$

Update requires: Replacement

PricingPlan

No longer used. If included, the only allowed value is RequestBasedUsage.

Allowed Values: RequestBasedUsage

Required: No

Type: String

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the Map name.

For more information about using the Reffunction, see Ref.

Fn::GetAtt

The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all Amazon.

  • Format example: arn:aws:geo:region:account-id:maps/ExampleMap

CreateTime

The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

DataSource

The data provider for the associated map tiles.

MapArn

Synonym for Arn. The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all Amazon.

  • Format example: arn:aws:geo:region:account-id:maps/ExampleMap

UpdateTime

The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.