interface HlsEncryptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins.CfnPackagingConfigurationPropsMixin.HlsEncryptionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackage/mixins#CfnPackagingConfigurationPropsMixin_HlsEncryptionProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnPackagingConfigurationPropsMixin.HlsEncryptionProperty |
Python | aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnPackagingConfigurationPropsMixin.HlsEncryptionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackage » mixins » CfnPackagingConfigurationPropsMixin » 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 { mixins as mediapackage_mixins } from '@aws-cdk/mixins-preview/aws-mediapackage';
const hlsEncryptionProperty: mediapackage_mixins.CfnPackagingConfigurationPropsMixin.HlsEncryptionProperty = {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| speke | 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.
If you don't specify a constant initialization vector (IV), AWS Elemental MediaPackage periodically rotates the IV.
encryptionMethod?
Type:
string
(optional)
HLS encryption type.
spekeKeyProvider?
Type:
IResolvable | Speke
(optional)
Parameters for the SPEKE key provider.

.NET
Go
Java
Python
TypeScript