Interface CfnOriginEndpoint.HlsEncryptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.HlsEncryptionProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
@Stability(Stable)
public static interface CfnOriginEndpoint.HlsEncryptionProperty
extends software.amazon.jsii.JsiiSerializable
Holds encryption information so that access to the content can be controlled by a DRM solution.
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().build()) .build()) // the properties below are optional .constantInitializationVector("constantInitializationVector") .encryptionMethod("encryptionMethod") .keyRotationIntervalSeconds(123) .repeatExtXKey(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnOriginEndpoint.HlsEncryptionProperty
static final class
An implementation forCfnOriginEndpoint.HlsEncryptionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.default String
HLS encryption type.default Number
Number of seconds before AWS Elemental MediaPackage rotates to a new key.default Object
Repeat theEXT-X-KEY
directive for every media segment.Parameters for the SPEKE key provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSpekeKeyProvider
Parameters for the SPEKE key provider. -
getConstantInitializationVector
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks. -
getEncryptionMethod
HLS encryption type. -
getKeyRotationIntervalSeconds
Number of seconds before AWS Elemental MediaPackage rotates to a new key.By default, rotation is set to 60 seconds. Set to
0
to disable key rotation. -
getRepeatExtXKey
Repeat theEXT-X-KEY
directive for every media segment.This might result in an increase in client requests to the DRM server.
-
builder
-