interface SpekeKeyProviderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackageV2.Mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackagev2/mixins#CfnOriginEndpointPropsMixin_SpekeKeyProviderProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediapackagev2.mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
Python | aws_cdk.mixins_preview.aws_mediapackagev2.mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackagev2 » mixins » CfnOriginEndpointPropsMixin » 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 { mixins as mediapackagev2_mixins } from '@aws-cdk/mixins-preview/aws-mediapackagev2';
const spekeKeyProviderProperty: mediapackagev2_mixins.CfnOriginEndpointPropsMixin.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[]
(optional)
The DRM solution provider you're using to protect your content during distribution.
encryptionContractConfiguration?
Type:
IResolvable | Encryption
(optional)
The encryption contract configuration associated with the SPEKE key provider.
resourceId?
Type:
string
(optional)
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
(optional)
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
(optional)
The URL of the SPEKE key provider.

.NET
Go
Java
Python
TypeScript