Class CfnOriginEndpoint.SpekeKeyProviderProperty
Key provider settings for DRM.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SpekeKeyProviderProperty : Object, CfnOriginEndpoint.ISpekeKeyProviderProperty
Syntax (vb)
Public Class SpekeKeyProviderProperty
Inherits Object
Implements CfnOriginEndpoint.ISpekeKeyProviderProperty
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 spekeKeyProviderProperty = 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"
}
};
Synopsis
Constructors
SpekeKeyProviderProperty() |
Properties
CertificateArn | The Amazon Resource Name (ARN) for the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint. |
EncryptionContractConfiguration | Use |
ResourceId | Unique identifier for this endpoint, as it is configured in the key provider service. |
RoleArn | The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. |
SystemIds | List of unique identifiers for the DRM systems to use, as defined in the CPIX specification. |
Url | URL for the key provider’s key retrieval API endpoint. |
Constructors
SpekeKeyProviderProperty()
public SpekeKeyProviderProperty()
Properties
CertificateArn
The Amazon Resource Name (ARN) for the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.
public string CertificateArn { get; set; }
Property Value
System.String
Remarks
For this feature to work, your DRM key provider must support content key encryption.
EncryptionContractConfiguration
Use encryptionContractConfiguration
to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
public object EncryptionContractConfiguration { get; set; }
Property Value
System.Object
Remarks
ResourceId
Unique identifier for this endpoint, as it is configured in the key provider service.
public string ResourceId { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
This role must have a trust policy that allows AWS Elemental MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Valid format: arn:aws:iam::{accountID}:role/{name}
SystemIds
List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.
public string[] SystemIds { get; set; }
Property Value
System.String[]
Remarks
Url
URL for the key provider’s key retrieval API endpoint.
public string Url { get; set; }
Property Value
System.String