Module Values.SpekeKeyProviderCmafSource

If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.

Sourcetype nonrec t = {
  1. certificateArn : string option;
    (*

    If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.

    *)
  2. dashSignaledSystemIds : string list option;
    (*

    Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.

    *)
  3. encryptionContractConfiguration : EncryptionContractConfiguration.t option;
    (*

    Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.

    *)
  4. hlsSignaledSystemIds : string list option;
    (*

    Specify up to 3 DRM system IDs that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. For more information, see https://dashif.org/identifiers/content_protection/.

    *)
  5. resourceId : string option;
    (*

    Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.

    *)
  6. url : string option;
    (*

    Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.

    *)
}
Sourceval make : ?certificateArn:??? -> ?dashSignaledSystemIds:??? -> ?encryptionContractConfiguration:??? -> ?hlsSignaledSystemIds:??? -> ?resourceId:??? -> ?url:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t