Class CfnPackagingConfigurationPropsMixin.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 .
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPackagingConfigurationPropsMixin.EncryptionContractConfigurationProperty : CfnPackagingConfigurationPropsMixin.IEncryptionContractConfigurationProperty
Syntax (vb)
Public Class CfnPackagingConfigurationPropsMixin.EncryptionContractConfigurationProperty Implements CfnPackagingConfigurationPropsMixin.IEncryptionContractConfigurationProperty
Remarks
Note the following considerations when using encryptionContractConfiguration :
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins;
var encryptionContractConfigurationProperty = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
};
Synopsis
Constructors
| EncryptionContractConfigurationProperty() | Use |
Properties
| PresetSpeke20Audio | A collection of audio encryption presets. |
| PresetSpeke20Video | A collection of video encryption presets. |
Constructors
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 .
public EncryptionContractConfigurationProperty()
Remarks
Note the following considerations when using encryptionContractConfiguration :
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins;
var encryptionContractConfigurationProperty = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
};
Properties
PresetSpeke20Audio
A collection of audio encryption presets.
public string? PresetSpeke20Audio { get; set; }
Property Value
Remarks
PresetSpeke20Video
A collection of video encryption presets.
public string? PresetSpeke20Video { get; set; }