{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediapackage/json-schema/amazon-mediapackage-create-packaging-group-request-schema.json",
  "title": "CreatePackagingGroupRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediapackage-packaging-groups-api-openapi.yml#/components/schemas/CreatePackagingGroupRequest",
  "type": "object",
  "properties": {
    "Authorization": {
      "$ref": "#/$defs/MediapackageVodAuthorization"
    },
    "EgressAccessLogs": {
      "$ref": "#/$defs/EgressAccessLogs"
    },
    "Id": {
      "type": "string",
      "description": "The ID of the PackagingGroup."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "Id"
  ],
  "$defs": {
    "EgressAccessLogs": {
      "type": "object",
      "properties": {
        "LogGroupName": {
          "type": "string",
          "description": "Customize the log group name."
        }
      }
    },
    "MediapackageVodAuthorization": {
      "type": "object",
      "properties": {
        "CdnIdentifierSecret": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization."
        },
        "SecretsRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager."
        }
      },
      "required": [
        "CdnIdentifierSecret",
        "SecretsRoleArn"
      ]
    }
  }
}