Interface CfnOriginEndpoint.IHlsEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public interface IHlsEncryptionProperty
Syntax (vb)
Public Interface 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 {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
},
// the properties below are optional
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123,
RepeatExtXKey = false
};
Synopsis
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. |
KeyRotationIntervalSeconds | Number of seconds before AWS Elemental MediaPackage rotates to a new key. |
RepeatExtXKey | Repeat the |
SpekeKeyProvider | Parameters for the SPEKE key provider. |
Properties
ConstantInitializationVector
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
virtual string ConstantInitializationVector { get; }
Property Value
System.String
Remarks
EncryptionMethod
HLS encryption type.
virtual string EncryptionMethod { get; }
Property Value
System.String
Remarks
KeyRotationIntervalSeconds
Number of seconds before AWS Elemental MediaPackage rotates to a new key.
virtual Nullable<double> KeyRotationIntervalSeconds { get; }
Property Value
System.Nullable<System.Double>
Remarks
By default, rotation is set to 60 seconds. Set to 0
to disable key rotation.
RepeatExtXKey
Repeat the EXT-X-KEY
directive for every media segment.
virtual object RepeatExtXKey { get; }
Property Value
System.Object
Remarks
This might result in an increase in client requests to the DRM server.
SpekeKeyProvider
Parameters for the SPEKE key provider.
object SpekeKeyProvider { get; }
Property Value
System.Object