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()
                         .presetSpeke20Audio("presetSpeke20Audio")
                         .presetSpeke20Video("presetSpeke20Video")
                         .build())
                 .build())
         // the properties below are optional
         .constantInitializationVector("constantInitializationVector")
         .encryptionMethod("encryptionMethod")
         .keyRotationIntervalSeconds(123)
         .repeatExtXKey(false)
         .build();
 

See Also: