Class TsEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediapackagev2.alpha.EncryptionConfiguration
software.amazon.awscdk.services.mediapackagev2.alpha.TsEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:36.089Z")
@Stability(Experimental)
public class TsEncryption
extends EncryptionConfiguration
(experimental) Encryption configuration for TS segments.
Use TsEncryption.speke() to create an instance.
Example:
Channel channel;
IRole spekeRole;
OriginEndpoint.Builder.create(this, "TsEndpoint")
.channel(channel)
.segment(Segment.ts(TsSegmentProps.builder()
.encryption(TsEncryption.speke(TsSpekeEncryptionProps.builder()
.method(TsEncryptionMethod.SAMPLE_AES)
.resourceId("my-content-id")
.url("https://example.com/speke")
.role(spekeRole)
.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
ConstructorsModifierConstructorDescriptionprotectedTsEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedTsEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic TsEncryptionspeke(TsSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for TS 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
-
TsEncryption
protected TsEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
TsEncryption
protected TsEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
speke
@Stability(Experimental) @NotNull public static TsEncryption speke(@NotNull TsSpekeEncryptionProps props) (experimental) Create a SPEKE-based encryption configuration for TS segments.- Parameters:
props- This parameter is required.
-