{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ChannelGroupName",
  "/properties/ChannelName",
  "/properties/OriginEndpointName"
 ],
 "definitions": {
  "CdnAuthConfiguration": {
   "additionalProperties": false,
   "properties": {
    "CdnIdentifierSecretArns": {
     "items": {
      "maxLength": 2048,
      "minLength": 20,
      "type": "string"
     },
     "maxItems": 100,
     "minItems": 1,
     "type": "array"
    },
    "SecretsRoleArn": {
     "maxLength": 2048,
     "minLength": 20,
     "type": "string"
    }
   },
   "required": [
    "CdnIdentifierSecretArns",
    "SecretsRoleArn"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ChannelGroupName",
  "/properties/ChannelName",
  "/properties/OriginEndpointName"
 ],
 "properties": {
  "CdnAuthConfiguration": {
   "$ref": "#/definitions/CdnAuthConfiguration"
  },
  "ChannelGroupName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9_-]+$",
   "type": "string"
  },
  "ChannelName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9_-]+$",
   "type": "string"
  },
  "OriginEndpointName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9_-]+$",
   "type": "string"
  },
  "Policy": {
   "maxLength": 6144,
   "type": [
    "object",
    "string"
   ]
  }
 },
 "required": [
  "ChannelGroupName",
  "ChannelName",
  "OriginEndpointName",
  "Policy"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-mediapackagev2",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::MediaPackageV2::OriginEndpointPolicy"
}
