Amazon MediaTailor · Schema

LogConfiguration

Returns Amazon CloudWatch log settings for a playback configuration.

BroadcastingMedia ProcessingMedia

Properties

Name Type Description
PercentEnabled object
View JSON Schema on GitHub

JSON Schema

mediatailor-api-log-configuration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-schema/mediatailor-api-log-configuration-schema.json",
  "title": "LogConfiguration",
  "description": "Returns Amazon CloudWatch log settings for a playback configuration.",
  "type": "object",
  "properties": {
    "PercentEnabled": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "<p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and <code>percentEnabled</code> is set to <code>60</code>, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html\">debug log mode</a>.</p> <p>Valid values: <code>0</code> - <code>100</code> </p>"
        }
      ]
    }
  },
  "required": [
    "PercentEnabled"
  ]
}