Class CfnOriginEndpointPropsMixin.HlsEncryptionProperty
Holds encryption information so that access to the content can be controlled by a DRM solution.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MediaPackage
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnOriginEndpointPropsMixin.HlsEncryptionProperty : CfnOriginEndpointPropsMixin.IHlsEncryptionProperty
Syntax (vb)
Public Class CfnOriginEndpointPropsMixin.HlsEncryptionProperty Implements CfnOriginEndpointPropsMixin.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.CfnPropertyMixins.AWS.MediaPackage;
var hlsEncryptionProperty = new HlsEncryptionProperty {
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123,
RepeatExtXKey = false,
SpekeKeyProvider = new SpekeKeyProviderProperty {
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
},
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url"
}
};
Synopsis
Constructors
| HlsEncryptionProperty() | Holds encryption information so that access to the content can be controlled by a DRM solution. |
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. |
Constructors
HlsEncryptionProperty()
Holds encryption information so that access to the content can be controlled by a DRM solution.
public HlsEncryptionProperty()
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.CfnPropertyMixins.AWS.MediaPackage;
var hlsEncryptionProperty = new HlsEncryptionProperty {
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = "encryptionMethod",
KeyRotationIntervalSeconds = 123,
RepeatExtXKey = false,
SpekeKeyProvider = new SpekeKeyProviderProperty {
CertificateArn = "certificateArn",
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
},
ResourceId = "resourceId",
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url"
}
};
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
Remarks
EncryptionMethod
HLS encryption type.
public string? EncryptionMethod { get; set; }
Property Value
Remarks
KeyRotationIntervalSeconds
Number of seconds before AWS Elemental MediaPackage rotates to a new key.
public double? KeyRotationIntervalSeconds { get; set; }
Property Value
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.
public object? RepeatExtXKey { get; set; }
Property Value
Remarks
This might result in an increase in client requests to the DRM server.
Type union: either bool or IResolvable
SpekeKeyProvider
Parameters for the SPEKE key provider.
public object? SpekeKeyProvider { get; set; }