@Stability(value=Stable)
public static interface CfnOriginEndpoint.HlsEncryptionProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediapackage.*;
HlsEncryptionProperty hlsEncryptionProperty = HlsEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.repeatExtXKey(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginEndpoint.HlsEncryptionProperty.Builder
A builder for
CfnOriginEndpoint.HlsEncryptionProperty |
static class |
CfnOriginEndpoint.HlsEncryptionProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.HlsEncryptionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginEndpoint.HlsEncryptionProperty.Builder |
builder() |
default String |
getConstantInitializationVector()
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
|
default String |
getEncryptionMethod()
HLS encryption type.
|
default Number |
getKeyRotationIntervalSeconds()
Number of seconds before AWS Elemental MediaPackage rotates to a new key.
|
default Object |
getRepeatExtXKey()
Repeat the `EXT-X-KEY` directive for every media segment.
|
Object |
getSpekeKeyProvider()
Parameters for the SPEKE key provider.
|
@Stability(value=Stable) @NotNull Object getSpekeKeyProvider()
@Stability(value=Stable) @Nullable default String getConstantInitializationVector()
@Stability(value=Stable) @Nullable default String getEncryptionMethod()
@Stability(value=Stable) @Nullable default Number getKeyRotationIntervalSeconds()
By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.
@Stability(value=Stable) @Nullable default Object getRepeatExtXKey()
This might result in an increase in client requests to the DRM server.
@Stability(value=Stable) static CfnOriginEndpoint.HlsEncryptionProperty.Builder builder()
Copyright © 2022. All rights reserved.