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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb

Overview

Note:

When making an API call, you may pass HlsEncryption data as a 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
    resource_id: "__string", # required
    role_arn: "__string", # required
    system_ids: ["__string"], # required
    url: "__string", # required
  },
}

An HTTP Live Streaming (HLS) encryption configuration.

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)


636
637
638
639
640
641
642
643
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 636

class HlsEncryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :repeat_ext_x_key,
  :speke_key_provider)
  include Aws::Structure
end

#encryption_methodString

The encryption method to use.

Returns:

  • (String)


636
637
638
639
640
641
642
643
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 636

class HlsEncryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :repeat_ext_x_key,
  :speke_key_provider)
  include Aws::Structure
end

#key_rotation_interval_secondsInteger

Interval (in seconds) between each encryption key rotation.

Returns:

  • (Integer)


636
637
638
639
640
641
642
643
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 636

class HlsEncryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :repeat_ext_x_key,
  :speke_key_provider)
  include Aws::Structure
end

#repeat_ext_x_keyBoolean

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

Returns:

  • (Boolean)


636
637
638
639
640
641
642
643
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 636

class HlsEncryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :repeat_ext_x_key,
  :speke_key_provider)
  include Aws::Structure
end

#speke_key_providerTypes::SpekeKeyProvider

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



636
637
638
639
640
641
642
643
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 636

class HlsEncryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :repeat_ext_x_key,
  :speke_key_provider)
  include Aws::Structure
end