{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/BackupVaultName",
  "/properties/MinRetentionDays",
  "/properties/MaxRetentionDays",
  "/properties/EncryptionKeyArn"
 ],
 "definitions": {
  "BackupVaultNamePattern": {
   "pattern": "^[a-zA-Z0-9\\-\\_]{2,50}$",
   "type": "string"
  },
  "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"
  },
  "MaxRetentionDays": {
   "type": "integer"
  },
  "MinRetentionDays": {
   "type": "integer"
  },
  "MpaApprovalTeamArn": {
   "type": "string"
  },
  "Notifications": {
   "$ref": "#/definitions/NotificationObjectType"
  },
  "VaultState": {
   "type": "string"
  },
  "VaultType": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/BackupVaultArn",
  "/properties/VaultState",
  "/properties/VaultType"
 ],
 "required": [
  "BackupVaultName",
  "MinRetentionDays",
  "MaxRetentionDays"
 ],
 "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::LogicallyAirGappedBackupVault"
}
