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.

TsEncryptionMethod Enum ​

Encryption methods for TS container type.

Example ​

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

new OriginEndpoint(this, 'TsEndpoint', {
  channel,
  segment: Segment.ts({
    encryption: TsEncryption.speke({
      method: TsEncryptionMethod.SAMPLE_AES,
      resourceId: 'my-content-id',
      url: 'https://example.com/speke',
      role: spekeRole,
    }),
  }),
  manifests: [Manifest.hls({ manifestName: 'index' })],
});

Members ​

MemberDescription
AES_128AES-128 encryption - requires Clear Key AES 128 DRM system.
SAMPLE_AESSample-level AES encryption - requires FairPlay DRM system.

Referenced by ​