Class CfnOriginEndpoint.DashEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
Inheritance
System.Object
CfnOriginEndpoint.DashEncryptionProperty
Implements
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DashEncryptionProperty : Object, CfnOriginEndpoint.IDashEncryptionProperty
Syntax (vb)
Public Class DashEncryptionProperty
Inherits Object
Implements CfnOriginEndpoint.IDashEncryptionProperty
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 dashEncryptionProperty = new DashEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
},
// the properties below are optional
KeyRotationIntervalSeconds = 123
};
Synopsis
Constructors
DashEncryptionProperty() |
Properties
KeyRotationIntervalSeconds | Number of seconds before AWS Elemental MediaPackage rotates to a new key. |
SpekeKeyProvider | Parameters for the SPEKE key provider. |
Constructors
DashEncryptionProperty()
public DashEncryptionProperty()
Properties
KeyRotationIntervalSeconds
Number of seconds before AWS Elemental MediaPackage rotates to a new key.
public Nullable<double> KeyRotationIntervalSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
By default, rotation is set to 60 seconds. Set to 0
to disable key rotation.
SpekeKeyProvider
Parameters for the SPEKE key provider.
public object SpekeKeyProvider { get; set; }
Property Value
System.Object