CmafEncryptionMethod

class aws_cdk.aws_mediapackagev2_alpha.CmafEncryptionMethod(*values)

Bases: Enum

(experimental) Encryption methods for CMAF container type.

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole
# certificate: certificatemanager.ICertificate


OriginEndpoint(self, "Endpoint",
    channel=channel,
    segment=Segment.cmaf(
        encryption=CmafEncryption.speke(
            method=CmafEncryptionMethod.CBCS,
            drm_systems=[CmafDrmSystem.FAIRPLAY],
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role,
            certificate=certificate
        )
    ),
    manifests=[Manifest.hls(manifest_name="index")]
)

Attributes

CBCS

(experimental) Common Encryption Scheme with CBCS mode - compatible with PlayReady, Widevine, and FairPlay DRM systems.

Stability:

experimental

CENC

(experimental) Common Encryption Scheme (CENC) - compatible with PlayReady, Widevine, and Irdeto DRM systems.

Stability:

experimental