AWS::MediaPackage::OriginEndpoint HlsEncryption
Holds encryption information so that access to the content can be controlled by a DRM solution.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ConstantInitializationVector" :
String
, "EncryptionMethod" :String
, "KeyRotationIntervalSeconds" :Integer
, "RepeatExtXKey" :Boolean
, "SpekeKeyProvider" :SpekeKeyProvider
}
YAML
ConstantInitializationVector:
String
EncryptionMethod:String
KeyRotationIntervalSeconds:Integer
RepeatExtXKey:Boolean
SpekeKeyProvider:SpekeKeyProvider
Properties
ConstantInitializationVector
-
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
Required: No
Type: String
Update requires: No interruption
EncryptionMethod
-
HLS encryption type.
Required: No
Type: String
Allowed values:
AES_128 | SAMPLE_AES
Update requires: No interruption
KeyRotationIntervalSeconds
-
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.Required: No
Type: Integer
Update requires: No interruption
RepeatExtXKey
-
Repeat the
EXT-X-KEY
directive for every media segment. This might result in an increase in client requests to the DRM server.Required: No
Type: Boolean
Update requires: No interruption
SpekeKeyProvider
-
Parameters for the SPEKE key provider.
Required: Yes
Type: SpekeKeyProvider
Update requires: No interruption