Amazon MediaPackage · JSON Structure

Mediapackage Api Cmaf Package Create Or Update Parameters Structure

A Common Media Application Format (CMAF) packaging configuration.

Type: object Properties: 5
BroadcastingMedia ProcessingMedia

CmafPackageCreateOrUpdateParameters is a JSON Structure definition published by Amazon MediaPackage, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Encryption HlsManifests SegmentDurationSeconds SegmentPrefix StreamSelection

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediapackage/refs/heads/main/json-structure/mediapackage-api-cmaf-package-create-or-update-parameters-structure.json",
  "name": "CmafPackageCreateOrUpdateParameters",
  "type": "object",
  "description": "A Common Media Application Format (CMAF) packaging configuration.",
  "properties": {
    "Encryption": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CmafEncryption"
        },
        {
          "xml": {
            "name": "encryption"
          }
        }
      ]
    },
    "HlsManifests": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__listOfHlsManifestCreateOrUpdateParameters"
        },
        {
          "xml": {
            "name": "hlsManifests"
          },
          "description": "A list of HLS manifest configurations"
        }
      ]
    },
    "SegmentDurationSeconds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "xml": {
            "name": "segmentDurationSeconds"
          },
          "description": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.\n"
        }
      ]
    },
    "SegmentPrefix": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "xml": {
            "name": "segmentPrefix"
          },
          "description": "An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId."
        }
      ]
    },
    "StreamSelection": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StreamSelection"
        },
        {
          "xml": {
            "name": "streamSelection"
          }
        }
      ]
    }
  }
}