interface SpekeKeyProviderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackage/mixins#CfnOriginEndpointPropsMixin_SpekeKeyProviderProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
Python | aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackage » mixins » CfnOriginEndpointPropsMixin » SpekeKeyProviderProperty |
Key provider settings for DRM.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as mediapackage_mixins } from '@aws-cdk/mixins-preview/aws-mediapackage';
const spekeKeyProviderProperty: mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty = {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
};
Properties
| Name | Type | Description |
|---|---|---|
| certificate | string | The Amazon Resource Name (ARN) for the certificate that you imported to Certificate Manager to add content key encryption to this endpoint. |
| encryption | IResolvable | Encryption | 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. |
| resource | string | Unique identifier for this endpoint, as it is configured in the key provider service. |
| role | string | The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. |
| system | string[] | List of unique identifiers for the DRM systems to use, as defined in the CPIX specification. |
| url? | string | URL for the key provider’s key retrieval API endpoint. |
certificateArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) for the certificate that you imported to Certificate Manager to add content key encryption to this endpoint.
For this feature to work, your DRM key provider must support content key encryption.
encryptionContractConfiguration?
Type:
IResolvable | Encryption
(optional)
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.
resourceId?
Type:
string
(optional)
Unique identifier for this endpoint, as it is configured in the key provider service.
roleArn?
Type:
string
(optional)
The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.
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?
Type:
string[]
(optional)
List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.
url?
Type:
string
(optional)
URL for the key provider’s key retrieval API endpoint.
Must start with https://.

.NET
Go
Java
Python
TypeScript