HlsKeyProviderSettings

class aws_cdk.aws_medialive_alpha.HlsKeyProviderSettings(*args: Any, **kwargs)

Bases: object

(experimental) Key provider settings for HLS encryption.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk

# secret_value: cdk.SecretValue

hls_key_provider_settings = medialive_alpha.HlsKeyProviderSettings.static_key(
    key_provider_server_url="keyProviderServerUrl",
    static_key_value=secret_value
)

Static Methods

classmethod static_key(*, key_provider_server_url, static_key_value)

(experimental) Use a static key for HLS encryption.

Parameters:
  • key_provider_server_url (str) – (experimental) The URL of the license server that serves the static key. Required — MediaLive rejects this without a server URL, even though the underlying CloudFormation property is typed as optional.

  • static_key_value (SecretValue) – (experimental) The static key value as a 32-character hexadecimal string.

Stability:

experimental

Return type:

HlsKeyProviderSettings