{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DistributionId"
 ],
 "definitions": {
  "MonitoringSubscription": {
   "additionalProperties": false,
   "properties": {
    "RealtimeMetricsSubscriptionConfig": {
     "$ref": "#/definitions/RealtimeMetricsSubscriptionConfig"
    }
   },
   "type": "object"
  },
  "RealtimeMetricsSubscriptionConfig": {
   "additionalProperties": false,
   "properties": {
    "RealtimeMetricsSubscriptionStatus": {
     "enum": [
      "Enabled",
      "Disabled"
     ],
     "type": "string"
    }
   },
   "required": [
    "RealtimeMetricsSubscriptionStatus"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/DistributionId"
 ],
 "properties": {
  "DistributionId": {
   "type": "string"
  },
  "MonitoringSubscription": {
   "$ref": "#/definitions/MonitoringSubscription"
  }
 },
 "required": [
  "DistributionId",
  "MonitoringSubscription"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::CloudFront::MonitoringSubscription"
}
