enum CmafEncryptionMethod
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.CmafEncryptionMethod |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#CmafEncryptionMethod |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.CmafEncryptionMethod |
Python | aws_cdk.aws_mediapackagev2_alpha.CmafEncryptionMethod |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป CmafEncryptionMethod |
Encryption methods for CMAF container type.
Example
declare const channel: Channel;
declare const spekeRole: iam.IRole;
declare const certificate: certificatemanager.ICertificate;
new OriginEndpoint(this, 'Endpoint', {
channel,
segment: Segment.cmaf({
encryption: CmafEncryption.speke({
method: CmafEncryptionMethod.CBCS,
drmSystems: [CmafDrmSystem.FAIRPLAY],
resourceId: 'my-content-id',
url: 'https://example.com/speke',
role: spekeRole,
certificate,
}),
}),
manifests: [Manifest.hls({ manifestName: 'index' })],
});
Members
| Name | Description |
|---|---|
| CENC | Common Encryption Scheme (CENC) - compatible with PlayReady, Widevine, and Irdeto DRM systems. |
| CBCS | Common Encryption Scheme with CBCS mode - compatible with PlayReady, Widevine, and FairPlay DRM systems. |
CENC
Common Encryption Scheme (CENC) - compatible with PlayReady, Widevine, and Irdeto DRM systems.
CBCS
Common Encryption Scheme with CBCS mode - compatible with PlayReady, Widevine, and FairPlay DRM systems.

.NET
Go
Java
Python
TypeScript (