Show / Hide Table of Contents

Class CfnOriginEndpointPropsMixin.HlsEncryptionProperty

Holds encryption information so that access to the content can be controlled by a DRM solution.

Inheritance
object
CfnOriginEndpointPropsMixin.HlsEncryptionProperty
Implements
CfnOriginEndpointPropsMixin.IHlsEncryptionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html

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 EXT-X-KEY directive for every media segment.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-constantinitializationvector

EncryptionMethod

HLS encryption type.

public string? EncryptionMethod { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-encryptionmethod

KeyRotationIntervalSeconds

Number of seconds before AWS Elemental MediaPackage rotates to a new key.

public double? KeyRotationIntervalSeconds { get; set; }
Property Value

double?

Remarks

By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-keyrotationintervalseconds

RepeatExtXKey

Repeat the EXT-X-KEY directive for every media segment.

public object? RepeatExtXKey { get; set; }
Property Value

object

Remarks

This might result in an increase in client requests to the DRM server.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-repeatextxkey

Type union: either bool or IResolvable

SpekeKeyProvider

Parameters for the SPEKE key provider.

public object? SpekeKeyProvider { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-spekekeyprovider

Type union: either IResolvable or CfnOriginEndpointPropsMixin.ISpekeKeyProviderProperty

Implements

CfnOriginEndpointPropsMixin.IHlsEncryptionProperty
Back to top Generated by DocFX