TsEncryptionMethod

class aws_cdk.aws_mediapackagev2_alpha.TsEncryptionMethod(*values)

Bases: Enum

(experimental) Encryption methods for TS container type.

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole


OriginEndpoint(self, "TsEndpoint",
    channel=channel,
    segment=Segment.ts(
        encryption=TsEncryption.speke(
            method=TsEncryptionMethod.SAMPLE_AES,
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role
        )
    ),
    manifests=[Manifest.hls(manifest_name="index")]
)

Attributes

AES_128

(experimental) AES-128 encryption - requires Clear Key AES 128 DRM system.

Stability:

experimental

SAMPLE_AES

(experimental) Sample-level AES encryption - requires FairPlay DRM system.

Stability:

experimental