Skip to content
v2.273.0

Experimental

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

HlsKeyProviderSettings Class ​

Key provider settings for HLS encryption.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import * as cdk from 'aws-cdk-lib';

declare const secretValue: cdk.SecretValue;
const hlsKeyProviderSettings = medialive_alpha.HlsKeyProviderSettings.staticKey({
  keyProviderServerUrl: 'keyProviderServerUrl',
  staticKeyValue: secretValue,
});

Methods ​

staticKey(props: HlsStaticKeyProps): HlsKeyProviderSettings // chainable@staticmethod def static_key(props: HlsStaticKeyProps) -> HlsKeyProviderSettingspublic static HlsKeyProviderSettings staticKey(HlsStaticKeyProps props)public static HlsKeyProviderSettings StaticKey(HlsStaticKeyProps props)func StaticKey(Props HlsStaticKeyProps) HlsKeyProviderSettingsstatic#
Use a static key for HLS encryption.