{
  "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}_.:/=+\\-@]*)$"
        },
        "Value" : {
          "type" : "string",
          "maxLength" : 256,
          "minLength" : 0,
          "pattern" : "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
        }
      },
      "required" : [ "Key", "Value" ],
      "type" : "object",
      "description" : ""
    }
  },
  "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 for the key value store."
    },
    "ImportSource" : {
      "$ref" : "#/definitions/ImportSource",
      "description" : "The import source for the key value store."
    },
    "Tags" : {
      "type" : "array",
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      },
      "description" : ""
    }
  },
  "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"
}