Class IsmEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediapackagev2.alpha.EncryptionConfiguration
software.amazon.awscdk.services.mediapackagev2.alpha.IsmEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:36.077Z")
@Stability(Experimental)
public class IsmEncryption
extends EncryptionConfiguration
(experimental) Encryption configuration for ISM (Microsoft Smooth Streaming) segments.
ISM only supports CENC encryption with PlayReady DRM. Audio and video presets are always SHARED.
Use IsmEncryption.speke() to create an instance.
Example:
Channel channel;
IRole spekeRole;
OriginEndpoint.Builder.create(this, "IsmEndpoint")
.channel(channel)
.segment(Segment.ism(IsmSegmentProps.builder()
.encryption(IsmEncryption.speke(IsmSpekeEncryptionProps.builder()
.resourceId("my-content-id")
.url("https://example.com/speke")
.role(spekeRole)
.build()))
.build()))
.manifests(List.of(Manifest.mss(MssManifestConfiguration.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
ConstructorsModifierConstructorDescriptionprotectedIsmEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedIsmEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IsmEncryptionspeke(IsmSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for ISM 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
-
IsmEncryption
protected IsmEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
IsmEncryption
protected IsmEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
speke
@Stability(Experimental) @NotNull public static IsmEncryption speke(@NotNull IsmSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for ISM segments.- Parameters:
props- This parameter is required.
-