Interface CfnOriginEndpoint.HlsEncryptionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnOriginEndpoint.HlsEncryptionProperty extends
Holds encryption information so that access to the content can be controlled by a DRM solution.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 HlsEncryptionProperty hlsEncryptionProperty = HlsEncryptionProperty.builder()
                 // the properties below are optional
         // the properties below are optional
  • Method Details

    • getSpekeKeyProvider

      @Stability(Stable) @NotNull Object getSpekeKeyProvider()
      Parameters for the SPEKE key provider.
    • getConstantInitializationVector

      @Stability(Stable) @Nullable default String getConstantInitializationVector()
      A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
    • getEncryptionMethod

      @Stability(Stable) @Nullable default String getEncryptionMethod()
      HLS encryption type.
    • getKeyRotationIntervalSeconds

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) @Nullable default Object getRepeatExtXKey()
      Repeat the EXT-X-KEY directive for every media segment.

      This might result in an increase in client requests to the DRM server.

    • builder

      @Stability(Stable) static CfnOriginEndpoint.HlsEncryptionProperty.Builder builder()
      a CfnOriginEndpoint.HlsEncryptionProperty.Builder of CfnOriginEndpoint.HlsEncryptionProperty