interface SpekeKeyProviderProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackagev2#CfnOriginEndpoint_SpekeKeyProviderProperty |
![]() | software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty |
![]() | aws_cdk.aws_mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty |
![]() | aws-cdk-lib » aws_mediapackagev2 » CfnOriginEndpoint » SpekeKeyProviderProperty |
The parameters for the SPEKE key provider.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
const spekeKeyProviderProperty: mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty = {
drmSystems: ['drmSystems'],
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
url: 'url',
};
Properties
Name | Type | Description |
---|---|---|
drm | string[] | The DRM solution provider you're using to protect your content during distribution. |
encryption | IResolvable | Encryption | The encryption contract configuration associated with the SPEKE key provider. |
resource | string | The unique identifier for the content. |
role | string | The ARN for the IAM role granted by the key provider that provides access to the key provider API. |
url | string | The URL of the SPEKE key provider. |
drmSystems
Type:
string[]
The DRM solution provider you're using to protect your content during distribution.
encryptionContractConfiguration
Type:
IResolvable
|
Encryption
The encryption contract configuration associated with the SPEKE key provider.
resourceId
Type:
string
The unique identifier for the content.
The service sends this identifier to the key server to identify the current endpoint. How unique you make this identifier depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
The following example shows a resource ID: MovieNight20171126093045
roleArn
Type:
string
The ARN for the IAM role granted by the key provider that provides access to the key provider API.
This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
Valid format: arn:aws:iam::{accountID}:role/{name}
. The following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
url
Type:
string
The URL of the SPEKE key provider.