Class: Aws::MediaPackage::Types::EncryptionContractConfiguration

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 EncryptionContractConfiguration data as a hash:

{
  preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
  preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
}

Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#preset_speke_20_audioString

A collection of audio encryption presets.

Returns:

  • (String)


1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1363

class EncryptionContractConfiguration < Struct.new(
  :preset_speke_20_audio,
  :preset_speke_20_video)
  SENSITIVE = []
  include Aws::Structure
end

#preset_speke_20_videoString

A collection of video encryption presets.

Returns:

  • (String)


1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1363

class EncryptionContractConfiguration < Struct.new(
  :preset_speke_20_audio,
  :preset_speke_20_video)
  SENSITIVE = []
  include Aws::Structure
end