Skip to content

ContentKeyPeriodConfiguration

Source code in docs_src/capo_mediapackagev2/types/content_key_period_configuration.py
class ContentKeyPeriodConfiguration(TypedDict, closed=True):
    content_key_period_timing: NotRequired[
        "capo_mediapackagev2.types.content_key_period_timing.ContentKeyPeriodTiming"
    ]
    """<p>Specifies what timing information MediaPackage signals in the <code>ContentKeyPeriod</code> to your DRM key provider. If you don't specify a value, the default is <code>INDEX_ONLY</code>. Signaling start and end times (<code>START_END_ONLY</code> or <code>INDEX_WITH_START_END</code>) also requires key rotation to be enabled.</p> <p>The allowed values are:</p> <ul> <li> <p> <code>INDEX_ONLY</code> - Signals only the content key index. This is the default and matches the current behavior. It's supported for both SPEKE Version 2.0 and 2.1.</p> </li> <li> <p> <code>START_END_ONLY</code> - Signals only the start and end times the key is used for. Requires <code>SpekeVersion</code> <code>V2_1</code>.</p> </li> <li> <p> <code>INDEX_WITH_START_END</code> - Signals both the content key index and the start and end times the key is used for. Requires <code>SpekeVersion</code> <code>V2_1</code>.</p> </li> </ul>"""

content_key_period_timing instance-attribute

content_key_period_timing: NotRequired[ContentKeyPeriodTiming]

Specifies what timing information MediaPackage signals in the ContentKeyPeriod to your DRM key provider. If you don't specify a value, the default is INDEX_ONLY. Signaling start and end times (START_END_ONLY or INDEX_WITH_START_END) also requires key rotation to be enabled.

The allowed values are:

  • INDEX_ONLY - Signals only the content key index. This is the default and matches the current behavior. It's supported for both SPEKE Version 2.0 and 2.1.

  • START_END_ONLY - Signals only the start and end times the key is used for. Requires SpekeVersion V2_1.

  • INDEX_WITH_START_END - Signals both the content key index and the start and end times the key is used for. Requires SpekeVersion V2_1.