{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/BackupVaultName",
  "/properties/EncryptionKeyArn"
 ],
 "definitions": {
  "BackupVaultNamePattern": {
   "pattern": "^[a-zA-Z0-9\\-\\_]{2,50}$",
   "type": "string"
  },
  "LockConfigurationType": {
   "additionalProperties": false,
   "properties": {
    "ChangeableForDays": {
     "type": "integer"
    },
    "MaxRetentionDays": {
     "type": "integer"
    },
    "MinRetentionDays": {
     "type": "integer"
    }
   },
   "required": [
    "MinRetentionDays"
   ],
   "type": "object"
  },
  "NotificationObjectType": {
   "additionalProperties": false,
   "properties": {
    "BackupVaultEvents": {
     "insertionOrder": false,
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "SNSTopicArn": {
     "format": "AWS::SNS::Topic.Arn",
     "type": "string"
    }
   },
   "required": [
    "SNSTopicArn",
    "BackupVaultEvents"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/BackupVaultName"
 ],
 "properties": {
  "AccessPolicy": {
   "type": [
    "object",
    "string"
   ]
  },
  "BackupVaultArn": {
   "type": "string"
  },
  "BackupVaultName": {
   "$ref": "#/definitions/BackupVaultNamePattern"
  },
  "BackupVaultTags": {
   "additionalProperties": false,
   "patternProperties": {
    "^.{1,128}$": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "EncryptionKeyArn": {
   "type": "string"
  },
  "LockConfiguration": {
   "$ref": "#/definitions/LockConfigurationType"
  },
  "Notifications": {
   "$ref": "#/definitions/NotificationObjectType"
  }
 },
 "readOnlyProperties": [
  "/properties/BackupVaultArn"
 ],
 "required": [
  "BackupVaultName"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/BackupVaultTags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Backup::BackupVault",
 "writeOnlyProperties": [
  "/properties/LockConfiguration/ChangeableForDays"
 ]
}
