Interface CfnPackagingConfiguration.HlsEncryptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagingConfiguration.HlsEncryptionProperty.Jsii$Proxy
- Enclosing class:
CfnPackagingConfiguration
@Stability(Stable)
public static interface CfnPackagingConfiguration.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()
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackagingConfiguration.HlsEncryptionPropertystatic final classAn implementation forCfnPackagingConfiguration.HlsEncryptionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSpekeKeyProvider
Parameters for the SPEKE key provider.Returns union: either
IResolvableorCfnPackagingConfiguration.SpekeKeyProviderProperty- See Also:
-
getConstantInitializationVector
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.If you don't specify a constant initialization vector (IV), AWS Elemental MediaPackage periodically rotates the IV.
- See Also:
-
getEncryptionMethod
HLS encryption type.- See Also:
-
builder
-