Skip to content
v2.275.0

Experimental

@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IsmSpekeEncryptionProps Struct ​

Properties for ISM SPEKE encryption configuration.

ISM only supports CENC encryption with PlayReady DRM. Key rotation and constant initialization vectors are not supported. Audio and video presets default to SHARED.

Example ​

ts
declare const channel: Channel;
declare const spekeRole: iam.IRole;

new OriginEndpoint(this, 'IsmEndpoint', {
  channel,
  segment: Segment.ism({
    encryption: IsmEncryption.speke({
      resourceId: 'my-content-id',
      url: 'https://example.com/speke',
      role: spekeRole,
    }),
  }),
  manifests: [Manifest.mss({ manifestName: 'index' })],
});

Properties ​

certificateoptionalICertificatecertificateoptionalICertificatecertificateoptionalICertificateCertificateoptionalICertificateCertificateoptionalICertificate#
The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.

Default: no content key encryption

drmSystemsoptionalIsmDrmSystem[]drm_systemsoptionaltyping.List[IsmDrmSystem]drmSystemsoptionalList<IsmDrmSystem>DrmSystemsoptionalIsmDrmSystem[]DrmSystemsoptional*[]IsmDrmSystem= [IsmDrmSystem.PLAYREADY]#
The DRM systems to use for content protection.
resourceIdstringresource_idstrresourceIdStringResourceIdstringResourceId*stringrequired#
The unique identifier for the content.
roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRolerequired#
IAM role for accessing the key provider API.
urlstringurlstrurlStringUrlstringUrl*stringrequired#
URL of the SPEKE key provider.