interface EncryptionContractConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackagev2#CfnOriginEndpoint_EncryptionContractConfigurationProperty |
Java | software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty |
Python | aws_cdk.aws_mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty |
TypeScript | aws-cdk-lib » aws_mediapackagev2 » CfnOriginEndpoint » EncryptionContractConfigurationProperty |
Use encryptionContractConfiguration
to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are 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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
const encryptionContractConfigurationProperty: mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty = {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
};
Properties
Name | Type | Description |
---|---|---|
preset | string | A collection of audio encryption presets. |
preset | string | The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint. |
presetSpeke20Audio
Type:
string
A collection of audio encryption presets.
Value description:
PRESET-AUDIO-1
- Use one content key to encrypt all of the audio tracks in your stream.PRESET-AUDIO-2
- Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.PRESET-AUDIO-3
- Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.SHARED
- Use the same content key for all of the audio and video tracks in your stream.UNENCRYPTED
- Don't encrypt any of the audio tracks in your stream.
presetSpeke20Video
Type:
string
The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.