Class: Aws::MediaPackageV2::Types::Encryption

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

Overview

The parameters for encrypting content.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#constant_initialization_vectorString

A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

Returns:

  • (String)


1223
1224
1225
1226
1227
1228
1229
1230
# File 'gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/types.rb', line 1223

class Encryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :speke_key_provider)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_methodTypes::EncryptionMethod

The encryption method to use.



1223
1224
1225
1226
1227
1228
1229
1230
# File 'gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/types.rb', line 1223

class Encryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :speke_key_provider)
  SENSITIVE = []
  include Aws::Structure
end

#key_rotation_interval_secondsInteger

The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.

The following example setting causes the service to rotate keys every thirty minutes: 1800

Returns:

  • (Integer)


1223
1224
1225
1226
1227
1228
1229
1230
# File 'gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/types.rb', line 1223

class Encryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :speke_key_provider)
  SENSITIVE = []
  include Aws::Structure
end

#speke_key_providerTypes::SpekeKeyProvider

The parameters for the SPEKE key provider.



1223
1224
1225
1226
1227
1228
1229
1230
# File 'gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/types.rb', line 1223

class Encryption < Struct.new(
  :constant_initialization_vector,
  :encryption_method,
  :key_rotation_interval_seconds,
  :speke_key_provider)
  SENSITIVE = []
  include Aws::Structure
end