Class CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty : CfnPackagingConfigurationPropsMixin.ISpekeKeyProviderProperty
Syntax (vb)
Public Class CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty Implements CfnPackagingConfigurationPropsMixin.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.Mixins.Preview.AWS.MediaPackage.Mixins;
var spekeKeyProviderProperty = new SpekeKeyProviderProperty {
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
},
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url"
};
Synopsis
Constructors
| SpekeKeyProviderProperty() | A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys. |
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()
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
public SpekeKeyProviderProperty()
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.Mixins.Preview.AWS.MediaPackage.Mixins;
var spekeKeyProviderProperty = new SpekeKeyProviderProperty {
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
},
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url"
};
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
Remarks
Type union: either IResolvable or CfnPackagingConfigurationPropsMixin.IEncryptionContractConfigurationProperty
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
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
string[]
Remarks
Url
URL for the key provider's key retrieval API endpoint.
public string? Url { get; set; }