interface HlsEncryptionProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.MediaPackage.CfnOriginEndpoint.HlsEncryptionProperty | 
|  Java | software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.HlsEncryptionProperty | 
|  Python | aws_cdk.aws_mediapackage.CfnOriginEndpoint.HlsEncryptionProperty | 
|  TypeScript | @aws-cdk/aws-mediapackage»CfnOriginEndpoint»HlsEncryptionProperty | 
Holds encryption information so that access to the content can be controlled by a DRM solution.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackage from '@aws-cdk/aws-mediapackage';
const hlsEncryptionProperty: mediapackage.CfnOriginEndpoint.HlsEncryptionProperty = {
  spekeKeyProvider: {
    resourceId: 'resourceId',
    roleArn: 'roleArn',
    systemIds: ['systemIds'],
    url: 'url',
    // the properties below are optional
    certificateArn: 'certificateArn',
    encryptionContractConfiguration: { },
  },
  // the properties below are optional
  constantInitializationVector: 'constantInitializationVector',
  encryptionMethod: 'encryptionMethod',
  keyRotationIntervalSeconds: 123,
  repeatExtXKey: false,
};
Properties
| Name | Type | Description | 
|---|---|---|
| speke | IResolvable | Speke | Parameters for the SPEKE key provider. | 
| constant | string | A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks. | 
| encryption | string | HLS encryption type. | 
| key | number | Number of seconds before AWS Elemental MediaPackage rotates to a new key. | 
| repeat | boolean | IResolvable | Repeat the EXT-X-KEYdirective for every media segment. | 
spekeKeyProvider
Type:
IResolvable | Speke
Parameters for the SPEKE key provider.
constantInitializationVector?
Type:
string
(optional)
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
encryptionMethod?
Type:
string
(optional)
HLS encryption type.
keyRotationIntervalSeconds?
Type:
number
(optional)
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.
repeatExtXKey?
Type:
boolean | IResolvable
(optional)
Repeat the EXT-X-KEY directive for every media segment.
This might result in an increase in client requests to the DRM server.
