interface CmafEncryptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.MediaPackage.CfnOriginEndpointPropsMixin.CmafEncryptionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsmediapackage#CfnOriginEndpointPropsMixin_CmafEncryptionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointPropsMixin.CmafEncryptionProperty |
Python | aws_cdk.cfn_property_mixins.aws_mediapackage.CfnOriginEndpointPropsMixin.CmafEncryptionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_mediapackage » CfnOriginEndpointPropsMixin » 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/cfn-property-mixins';
const cmafEncryptionProperty: mediapackage.CfnOriginEndpointPropsMixin.CmafEncryptionProperty = {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
keyRotationIntervalSeconds: 123,
spekeKeyProvider: {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| constant | string | An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. |
| encryption | string | The encryption method to use. |
| key | number | Number of seconds before AWS Elemental MediaPackage rotates to a new key. |
| speke | IResolvable | Speke | 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.
spekeKeyProvider?
Type:
IResolvable | Speke
(optional)
Parameters for the SPEKE key provider.

.NET
Go
Java
Python
TypeScript