You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaPackage::Types::HlsEncryption

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HlsEncryption as input to an Aws::Client method, you can use a vanilla Hash:

{
  constant_initialization_vector: "__string",
  encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
  key_rotation_interval_seconds: 1,
  repeat_ext_x_key: false,
  speke_key_provider: { # required
    certificate_arn: "__string",
    resource_id: "__string", # required
    role_arn: "__string", # required
    system_ids: ["__string"], # required
    url: "__string", # required
  },
}

An HTTP Live Streaming (HLS) encryption configuration.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#constant_initialization_vectorString

A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.

Returns:

  • (String)

    A constant initialization vector for encryption (optional).

#encryption_methodString

The encryption method to use.

Possible values:

  • AES_128
  • SAMPLE_AES

Returns:

  • (String)

    The encryption method to use.

#key_rotation_interval_secondsInteger

Interval (in seconds) between each encryption key rotation.

Returns:

  • (Integer)

    Interval (in seconds) between each encryption key rotation.

#repeat_ext_x_keyBoolean

When enabled, the EXT-X-KEY tag will be repeated in output manifests.

Returns:

  • (Boolean)

    When enabled, the EXT-X-KEY tag will be repeated in output manifests.

#speke_key_providerTypes::SpekeKeyProvider

A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.

Returns:

  • (Types::SpekeKeyProvider)

    A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.