amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConvert.Types.CmafEncryptionSettings

Description

 
Synopsis

Documentation

data CmafEncryptionSettings Source #

Settings for CMAF encryption

See: newCmafEncryptionSettings smart constructor.

Constructors

CmafEncryptionSettings' 

Fields

  • constantInitializationVector :: Maybe Text

    This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

  • encryptionMethod :: Maybe CmafEncryptionType

    Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).

  • initializationVectorInManifest :: Maybe CmafInitializationVectorInManifest

    When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.

  • spekeKeyProvider :: Maybe SpekeKeyProviderCmaf

    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.

  • staticKeyProvider :: Maybe StaticKeyProvider

    Use these settings to set up encryption with a static key provider.

  • type' :: Maybe CmafKeyProviderType

    Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.

Instances

Instances details
FromJSON CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

ToJSON CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Generic CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Associated Types

type Rep CmafEncryptionSettings :: Type -> Type #

Read CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Show CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

NFData CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Methods

rnf :: CmafEncryptionSettings -> () #

Eq CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Hashable CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

type Rep CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

type Rep CmafEncryptionSettings = D1 ('MetaData "CmafEncryptionSettings" "Amazonka.MediaConvert.Types.CmafEncryptionSettings" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "CmafEncryptionSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "constantInitializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "encryptionMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryptionType)) :*: S1 ('MetaSel ('Just "initializationVectorInManifest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafInitializationVectorInManifest)))) :*: (S1 ('MetaSel ('Just "spekeKeyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpekeKeyProviderCmaf)) :*: (S1 ('MetaSel ('Just "staticKeyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StaticKeyProvider)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafKeyProviderType))))))

newCmafEncryptionSettings :: CmafEncryptionSettings Source #

Create a value of CmafEncryptionSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:constantInitializationVector:CmafEncryptionSettings', cmafEncryptionSettings_constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

$sel:encryptionMethod:CmafEncryptionSettings', cmafEncryptionSettings_encryptionMethod - Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).

$sel:initializationVectorInManifest:CmafEncryptionSettings', cmafEncryptionSettings_initializationVectorInManifest - When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.

$sel:spekeKeyProvider:CmafEncryptionSettings', cmafEncryptionSettings_spekeKeyProvider - 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.

$sel:staticKeyProvider:CmafEncryptionSettings', cmafEncryptionSettings_staticKeyProvider - Use these settings to set up encryption with a static key provider.

$sel:type':CmafEncryptionSettings', cmafEncryptionSettings_type - Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.

cmafEncryptionSettings_constantInitializationVector :: Lens' CmafEncryptionSettings (Maybe Text) Source #

This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

cmafEncryptionSettings_encryptionMethod :: Lens' CmafEncryptionSettings (Maybe CmafEncryptionType) Source #

Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).

cmafEncryptionSettings_initializationVectorInManifest :: Lens' CmafEncryptionSettings (Maybe CmafInitializationVectorInManifest) Source #

When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.

cmafEncryptionSettings_spekeKeyProvider :: Lens' CmafEncryptionSettings (Maybe SpekeKeyProviderCmaf) Source #

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.

cmafEncryptionSettings_staticKeyProvider :: Lens' CmafEncryptionSettings (Maybe StaticKeyProvider) Source #

Use these settings to set up encryption with a static key provider.

cmafEncryptionSettings_type :: Lens' CmafEncryptionSettings (Maybe CmafKeyProviderType) Source #

Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.