aws-cdk-lib.aws_mediapackage.CfnOriginEndpoint.CmafEncryptionProperty

interface CmafEncryptionProperty

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

Holds encryption information so that access to the content can be controlled by a DRM solution.

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 cmafEncryptionProperty: mediapackage.CfnOriginEndpoint.CmafEncryptionProperty = {
  spekeKeyProvider: {
    resourceId: 'resourceId',
    roleArn: 'roleArn',
    systemIds: ['systemIds'],
    url: 'url',

    // the properties below are optional
    certificateArn: 'certificateArn',
    encryptionContractConfiguration: { },
  },

  // the properties below are optional
  constantInitializationVector: 'constantInitializationVector',
  encryptionMethod: 'encryptionMethod',
  keyRotationIntervalSeconds: 123,
};

Properties

NameTypeDescription
spekeKeyProviderIResolvable | SpekeKeyProviderPropertyParameters for the SPEKE key provider.
constantInitializationVector?stringAn optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.
encryptionMethod?stringThe encryption method to use.
keyRotationIntervalSeconds?numberNumber of seconds before AWS Elemental MediaPackage rotates to a new key.

spekeKeyProvider

Type: IResolvable | SpekeKeyProviderProperty

Parameters for the SPEKE key provider.


constantInitializationVector?

Type: string (optional)

An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.

If you don't specify a value, then AWS Elemental MediaPackage creates the constant initialization vector (IV).


encryptionMethod?

Type: string (optional)

The encryption method to use.


keyRotationIntervalSeconds?

Type: number (optional)

Number of seconds before AWS Elemental MediaPackage rotates to a new key.

By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.