Enum CmafEncryptionMethod
java.lang.Object
java.lang.Enum<CmafEncryptionMethod>
software.amazon.awscdk.services.mediapackagev2.alpha.CmafEncryptionMethod
- All Implemented Interfaces:
Serializable,Comparable<CmafEncryptionMethod>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.707Z")
@Stability(Experimental)
public enum CmafEncryptionMethod
extends Enum<CmafEncryptionMethod>
(experimental) Encryption methods for CMAF container type.
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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CmafEncryptionMethodReturns the enum constant of this type with the specified name.static CmafEncryptionMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CENC
(experimental) Common Encryption Scheme (CENC) - compatible with PlayReady, Widevine, and Irdeto DRM systems. -
CBCS
(experimental) Common Encryption Scheme with CBCS mode - compatible with PlayReady, Widevine, and FairPlay DRM systems.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-