Class CfnPackagingConfiguration.SpekeKeyProviderProperty
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
Inheritance
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public class SpekeKeyProviderProperty : Object, CfnPackagingConfiguration.ISpekeKeyProviderProperty
Syntax (vb)
Public Class SpekeKeyProviderProperty
Inherits Object
Implements CfnPackagingConfiguration.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 {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty { }
};
Synopsis
Constructors
| SpekeKeyProviderProperty() |
Properties
| EncryptionContractConfiguration | Use |
| 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
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
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
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