Interface CfnOriginEndpoint.CmafEncryptionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnOriginEndpoint.CmafEncryptionProperty 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.
 CmafEncryptionProperty cmafEncryptionProperty = CmafEncryptionProperty.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()
      An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.

      If you don't specify a value, then AWS Elemental MediaPackage creates the constant initialization vector (IV).

    • getEncryptionMethod

      @Stability(Stable) @Nullable default String getEncryptionMethod()
      The encryption method to use.
    • 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.

    • builder

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