{
  "additionalProperties" : false,
  "definitions" : {
    "ImportSource" : {
      "additionalProperties" : false,
      "properties" : {
        "SourceType" : {
          "type" : "string",
          "description" : "The source type of the import source for the key value store."
        },
        "SourceArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) of the import source for the key value store."
        }
      },
      "required" : [ "SourceType", "SourceArn" ],
      "type" : "object",
      "description" : "The import source for the key value store."
    },
    "Tag" : {
      "additionalProperties" : false,
      "properties" : {
        "Key" : {
          "type" : "string",
          "maxLength" : 128,
          "minLength" : 1,
          "pattern" : "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
          "description" : "A string that contains ``Tag`` key.\n The string length should be between 1 and 128 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``."
        },
        "Value" : {
          "type" : "string",
          "maxLength" : 256,
          "minLength" : 0,
          "pattern" : "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
          "description" : "A string that contains an optional ``Tag`` value.\n The string length should be between 0 and 256 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``."
        }
      },
      "required" : [ "Key", "Value" ],
      "type" : "object",
      "description" : "A complex type that contains ``Tag`` key and ``Tag`` value."
    }
  },
  "description" : "The key value store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.",
  "handlers" : {
    "create" : {
      "permissions" : [ "cloudfront:CreateKeyValueStore", "cloudfront:DescribeKeyValueStore", "cloudfront:TagResource", "s3:GetObject", "s3:HeadObject", "s3:GetBucketLocation" ]
    },
    "delete" : {
      "permissions" : [ "cloudfront:DeleteKeyValueStore", "cloudfront:DescribeKeyValueStore" ]
    },
    "list" : {
      "permissions" : [ "cloudfront:ListKeyValueStores" ]
    },
    "read" : {
      "permissions" : [ "cloudfront:DescribeKeyValueStore", "cloudfront:ListTagsForResource" ]
    },
    "update" : {
      "permissions" : [ "cloudfront:UpdateKeyValueStore", "cloudfront:DescribeKeyValueStore", "cloudfront:TagResource", "cloudfront:UntagResource" ]
    }
  },
  "properties" : {
    "Arn" : {
      "type" : "string",
      "description" : ""
    },
    "Id" : {
      "type" : "string",
      "description" : ""
    },
    "Status" : {
      "type" : "string",
      "description" : ""
    },
    "Name" : {
      "type" : "string",
      "description" : "The name of the key value store."
    },
    "Comment" : {
      "type" : "string",
      "description" : "A comment to describe the Key Value Store. Omitting ``Comment`` from the template during updates will clear the existing comment (set to empty string). To preserve an existing comment, you must explicitly include it in the template."
    },
    "ImportSource" : {
      "$ref" : "#/definitions/ImportSource",
      "description" : "The import source for the key value store."
    },
    "Tags" : {
      "type" : "array",
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      },
      "description" : "A complex type that contains zero or more ``Tag`` elements."
    }
  },
  "primaryIdentifier" : [ "/properties/Name" ],
  "createOnlyProperties" : [ "/properties/Name" ],
  "readOnlyProperties" : [ "/properties/Arn", "/properties/Id", "/properties/Status" ],
  "writeOnlyProperties" : [ "/properties/ImportSource" ],
  "required" : [ "Name" ],
  "tagging" : {
    "cloudFormationSystemTags" : false,
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "cloudfront:TagResource", "cloudfront:UntagResource", "cloudfront:ListTagsForResource" ]
  },
  "typeName" : "AWS::CloudFront::KeyValueStore"
}