{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/SubscriptionName",
  "/properties/SnsTopicArn"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/SubscriptionName"
 ],
 "properties": {
  "Enabled": {
   "default": true,
   "type": "boolean"
  },
  "EventCategories": {
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  },
  "SnsTopicArn": {
   "format": "AWS::SNS::Topic.Arn",
   "type": "string"
  },
  "SourceIds": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  },
  "SourceType": {
   "type": "string"
  },
  "SubscriptionName": {
   "maxLength": 255,
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": false
  }
 },
 "propertyTransform": {
  "/properties/SubscriptionName": "$lowercase(SubscriptionName)"
 },
 "required": [
  "SnsTopicArn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::RDS::EventSubscription"
}
