AWS::MediaPackageV2::OriginEndpoint EncryptionContractConfiguration
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "PresetSpeke20Audio" :
String
, "PresetSpeke20Video" :String
}
YAML
PresetSpeke20Audio:
String
PresetSpeke20Video:String
Properties
PresetSpeke20Audio
-
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.
Required: Yes
Type: String
Allowed values:
PRESET_AUDIO_1 | PRESET_AUDIO_2 | PRESET_AUDIO_3 | SHARED | UNENCRYPTED
Update requires: No interruption
-
PresetSpeke20Video
-
The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.
Required: Yes
Type: String
Allowed values:
PRESET_VIDEO_1 | PRESET_VIDEO_2 | PRESET_VIDEO_3 | PRESET_VIDEO_4 | PRESET_VIDEO_5 | PRESET_VIDEO_6 | PRESET_VIDEO_7 | PRESET_VIDEO_8 | SHARED | UNENCRYPTED
Update requires: No interruption