aws-cdk-lib.aws_mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty

interface SpekeKeyProviderProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaPackage.CfnPackagingConfiguration.SpekeKeyProviderProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnPackagingConfiguration_SpekeKeyProviderProperty
Javasoftware.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty
Pythonaws_cdk.aws_mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty
TypeScript aws-cdk-lib » aws_mediapackage » CfnPackagingConfiguration » SpekeKeyProviderProperty

A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const spekeKeyProviderProperty: mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty = {
  roleArn: 'roleArn',
  systemIds: ['systemIds'],
  url: 'url',

  // the properties below are optional
  encryptionContractConfiguration: { },
};

Properties

NameTypeDescription
roleArnstringThe ARN for the IAM role that's granted by the key provider to provide access to the key provider API.
systemIdsstring[]List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.
urlstringURL for the key provider's key retrieval API endpoint.
encryptionContractConfiguration?IResolvable | EncryptionContractConfigurationPropertyUse 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.

roleArn

Type: string

The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.

Valid format: arn:aws:iam::{accountID}:role/{name}


systemIds

Type: string[]

List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.


url

Type: string

URL for the key provider's key retrieval API endpoint.

Must start with https://.


encryptionContractConfiguration?

Type: IResolvable | EncryptionContractConfigurationProperty (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.