{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Configuration",
  "/properties/MapName"
 ],
 "definitions": {
  "MapConfiguration": {
   "additionalProperties": false,
   "properties": {
    "CustomLayers": {
     "items": {
      "maxLength": 100,
      "minLength": 1,
      "pattern": "^[-._\\w]+$",
      "type": "string"
     },
     "maxItems": 10,
     "type": "array"
    },
    "PoliticalView": {
     "maxLength": 3,
     "minLength": 3,
     "pattern": "^[A-Z]{3}$",
     "type": "string"
    },
    "Style": {
     "maxLength": 100,
     "minLength": 1,
     "pattern": "^[-._\\w]+$",
     "type": "string"
    }
   },
   "required": [
    "Style"
   ],
   "type": "object"
  },
  "PricingPlan": {
   "enum": [
    "RequestBasedUsage"
   ],
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^[a-zA-Z+-=._:/]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^[A-Za-z0-9 _=@:.+-/]*$",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "TagMap": {
   "additionalProperties": false,
   "maxProperties": 50,
   "patternProperties": {
    "^([\\p{L}\\p{Z}\\p{N}_.,:/=+\\-@]*)$": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.,:/=+\\-@]*)$",
     "type": "string"
    }
   },
   "type": "object"
  },
  "iso8601UTC": {
   "pattern": "^([0-2]\\d{3})-(0[0-9]|1[0-2])-([0-2]\\d|3[01])T([01]\\d|2[0-4]):([0-5]\\d):([0-6]\\d)((\\.\\d{3})?)Z$",
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/MapName"
 ],
 "properties": {
  "Arn": {
   "maxLength": 1600,
   "pattern": "^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$",
   "type": "string"
  },
  "Configuration": {
   "$ref": "#/definitions/MapConfiguration"
  },
  "CreateTime": {
   "$ref": "#/definitions/iso8601UTC"
  },
  "Description": {
   "maxLength": 1000,
   "minLength": 0,
   "type": "string"
  },
  "MapArn": {
   "maxLength": 1600,
   "pattern": "^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0-9]+)*))(:[0-9]+):((\\*)|([-a-z]+[/][*-._\\w]+))$",
   "type": "string"
  },
  "MapName": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^[-._\\w]+$",
   "type": "string"
  },
  "PricingPlan": {
   "$ref": "#/definitions/PricingPlan"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  },
  "UpdateTime": {
   "$ref": "#/definitions/iso8601UTC"
  }
 },
 "readOnlyProperties": [
  "/properties/CreateTime",
  "/properties/Arn",
  "/properties/MapArn",
  "/properties/UpdateTime"
 ],
 "required": [
  "Configuration",
  "MapName"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Location::Map"
}
