{
  "typeName" : "AWS::CloudFront::StreamingDistribution",
  "description" : "Resource Type definition for AWS::CloudFront::StreamingDistribution",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "type" : "string"
    },
    "DomainName" : {
      "type" : "string"
    },
    "StreamingDistributionConfig" : {
      "$ref" : "#/definitions/StreamingDistributionConfig"
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    }
  },
  "definitions" : {
    "Logging" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Enabled" : {
          "type" : "boolean"
        },
        "Prefix" : {
          "type" : "string"
        },
        "Bucket" : {
          "type" : "string"
        }
      },
      "required" : [ "Bucket", "Enabled", "Prefix" ]
    },
    "S3Origin" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "DomainName" : {
          "type" : "string"
        },
        "OriginAccessIdentity" : {
          "type" : "string"
        }
      },
      "required" : [ "DomainName", "OriginAccessIdentity" ]
    },
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    },
    "TrustedSigners" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Enabled" : {
          "type" : "boolean"
        },
        "AwsAccountNumbers" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        }
      },
      "required" : [ "Enabled" ]
    },
    "StreamingDistributionConfig" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Logging" : {
          "$ref" : "#/definitions/Logging"
        },
        "Comment" : {
          "type" : "string"
        },
        "PriceClass" : {
          "type" : "string"
        },
        "S3Origin" : {
          "$ref" : "#/definitions/S3Origin"
        },
        "Enabled" : {
          "type" : "boolean"
        },
        "Aliases" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        },
        "TrustedSigners" : {
          "$ref" : "#/definitions/TrustedSigners"
        }
      },
      "required" : [ "Comment", "S3Origin", "Enabled", "TrustedSigners" ]
    }
  },
  "required" : [ "StreamingDistributionConfig", "Tags" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id", "/properties/DomainName" ]
}