libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.CmafEncryptionSettings

Description

 
Synopsis

Documentation

data CmafEncryptionSettings Source #

Settings for CMAF encryption

See: newCmafEncryptionSettings smart constructor.

Constructors

CmafEncryptionSettings' 

Fields

  • 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).

  • 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.

  • 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.

  • staticKeyProvider :: Maybe StaticKeyProvider

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

  • 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.

  • 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.

Instances

Instances details
Eq CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Read CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Show 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 #

NFData CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

Methods

rnf :: CmafEncryptionSettings -> () #

Hashable CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

ToJSON CmafEncryptionSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CmafEncryptionSettings

FromJSON 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" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "CmafEncryptionSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryptionMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryptionType)) :*: (S1 ('MetaSel ('Just "constantInitializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafKeyProviderType)))) :*: (S1 ('MetaSel ('Just "staticKeyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StaticKeyProvider)) :*: (S1 ('MetaSel ('Just "spekeKeyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpekeKeyProviderCmaf)) :*: S1 ('MetaSel ('Just "initializationVectorInManifest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafInitializationVectorInManifest))))))

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: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: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: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.

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

$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: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.

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_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_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.

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

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

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_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.