DashEncryptionProperty Struct
Holds encryption information so that access to the content can be controlled by a DRM solution.
Example
ts
// 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 dashEncryptionProperty: mediapackage.CfnOriginEndpoint.DashEncryptionProperty = {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
// the properties below are optional
keyRotationIntervalSeconds: 123,
};
Properties
keyRotationIntervalSecondsnumberkey_rotation_interval_secondsint | floatkeyRotationIntervalSecondsNumberKeyRotationIntervalSecondsdoubleKeyRotationIntervalSeconds*float64#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.
spekeKeyProviderIResolvable | CfnOriginEndpoint.SpekeKeyProviderPropertyspeke_key_providertyping.Union[IResolvable, SpekeKeyProviderProperty]spekeKeyProviderIResolvableSpekeKeyProviderIResolvableSpekeKeyProviderinterface{}required#Parameters for the SPEKE key provider.