interface EncryptionContractConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaPackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty |
Java | software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty |
Python | aws_cdk.aws_mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty |
TypeScript | @aws-cdk/aws-mediapackage » CfnPackagingConfiguration » EncryptionContractConfigurationProperty |
Use encryptionContractConfiguration
to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines the content keys used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. For more information about these presets, see SPEKE Version 2.0 Presets .
Note the following considerations when using encryptionContractConfiguration
:
- You can use
encryptionContractConfiguration
for DASH endpoints that use SPEKE Version 2.0. SPEKE Version 2.0 relies on the CPIX Version 2.3 specification. - You cannot combine an
UNENCRYPTED
preset withUNENCRYPTED
orSHARED
presets acrosspresetSpeke20Audio
andpresetSpeke20Video
. - When you use a
SHARED
preset, you must use it for bothpresetSpeke20Audio
andpresetSpeke20Video
.
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 encryptionContractConfigurationProperty: mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty = { };