Class CmafEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediapackagev2.alpha.EncryptionConfiguration
software.amazon.awscdk.services.mediapackagev2.alpha.CmafEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.707Z")
@Stability(Experimental)
public class CmafEncryption
extends EncryptionConfiguration
(experimental) Encryption configuration for CMAF segments.
Use CmafEncryption.speke() to create an instance.
Example:
Channel channel;
IRole spekeRole;
ICertificate certificate;
OriginEndpoint.Builder.create(this, "Endpoint")
.channel(channel)
.segment(Segment.cmaf(CmafSegmentProps.builder()
.encryption(CmafEncryption.speke(CmafSpekeEncryptionProps.builder()
.method(CmafEncryptionMethod.CBCS)
.drmSystems(List.of(CmafDrmSystem.FAIRPLAY))
.resourceId("my-content-id")
.url("https://example.com/speke")
.role(spekeRole)
.certificate(certificate)
.build()))
.build()))
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCmafEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCmafEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic CmafEncryptionspeke(CmafSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for CMAF segments.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CmafEncryption
protected CmafEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
CmafEncryption
protected CmafEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
speke
@Stability(Experimental) @NotNull public static CmafEncryption speke(@NotNull CmafSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for CMAF segments.- Parameters:
props- This parameter is required.
-