Class CfnPackagingConfiguration.HlsEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
Inheritance
System.Object
CfnPackagingConfiguration.HlsEncryptionProperty
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HlsEncryptionProperty : Object, CfnPackagingConfiguration.IHlsEncryptionProperty
Syntax (vb)
Public Class HlsEncryptionProperty
Inherits Object
Implements CfnPackagingConfiguration.IHlsEncryptionProperty
Remarks
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.AWS.MediaPackage;
var hlsEncryptionProperty = new HlsEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod"
};
Synopsis
Constructors
HlsEncryptionProperty() |
Properties
ConstantInitializationVector | A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks. |
EncryptionMethod | HLS encryption type. |
SpekeKeyProvider | Parameters for the SPEKE key provider. |
Constructors
HlsEncryptionProperty()
public HlsEncryptionProperty()
Properties
ConstantInitializationVector
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
public string ConstantInitializationVector { get; set; }
Property Value
System.String
Remarks
If you don't specify a constant initialization vector (IV), AWS Elemental MediaPackage periodically rotates the IV.
EncryptionMethod
HLS encryption type.
public string EncryptionMethod { get; set; }
Property Value
System.String
Remarks
SpekeKeyProvider
Parameters for the SPEKE key provider.
public object SpekeKeyProvider { get; set; }
Property Value
System.Object