AWS::Location::Map - AWS CloudFormation (original) (raw)

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

Syntax

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

JSON

{
  "Type" : "AWS::Location::Map",
  "Properties" : {
      "Configuration" : MapConfiguration,
      "Description" : String,
      "MapName" : String,
      "PricingPlan" : String,
      "Tags" : [ Tag, ... ]
    }
}

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: No interruption

MapName

The name for the map resource.

Requirements:

Required: Yes

Type: String

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

Minimum: 1

Maximum: 100

Update requires: Replacement

PricingPlan

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

Allowed Values: RequestBasedUsage

Required: No

Type: String

Allowed values: RequestBasedUsage

Update requires: No interruption

Tags

Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

Format: "key" : "value"

Restrictions:

Required: No

Type: Array of Tag

Minimum: 0

Maximum: 200

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Map name.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic 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::GetAtt intrinsic function, see Fn::GetAtt.

Arn

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

CreateTime

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

MapArn

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

UpdateTime

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