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

Class: Aws::MediaConvert::Types::InputDecryptionSettings

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

Overview

Note:

When making an API call, you may pass InputDecryptionSettings data as a hash:

{
  decryption_mode: "AES_CTR", # accepts AES_CTR, AES_CBC, AES_GCM
  encrypted_decryption_key: "__stringMin24Max512PatternAZaZ0902",
  initialization_vector: "__stringMin16Max24PatternAZaZ0922AZaZ0916",
  kms_key_region: "__stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912",
}

Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.

Instance Attribute Summary collapse

Instance Attribute Details

#decryption_modeString

Specify the encryption mode that you used to encrypt your input files.

Returns:

  • (String)


8148
8149
8150
8151
8152
8153
8154
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8148

class InputDecryptionSettings < Struct.new(
  :decryption_mode,
  :encrypted_decryption_key,
  :initialization_vector,
  :kms_key_region)
  include Aws::Structure
end

#encrypted_decryption_keyString

Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.

Returns:

  • (String)


8148
8149
8150
8151
8152
8153
8154
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8148

class InputDecryptionSettings < Struct.new(
  :decryption_mode,
  :encrypted_decryption_key,
  :initialization_vector,
  :kms_key_region)
  include Aws::Structure
end

#initialization_vectorString

Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded.

Returns:

  • (String)


8148
8149
8150
8151
8152
8153
8154
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8148

class InputDecryptionSettings < Struct.new(
  :decryption_mode,
  :encrypted_decryption_key,
  :initialization_vector,
  :kms_key_region)
  include Aws::Structure
end

#kms_key_regionString

Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert.

Returns:

  • (String)


8148
8149
8150
8151
8152
8153
8154
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8148

class InputDecryptionSettings < Struct.new(
  :decryption_mode,
  :encrypted_decryption_key,
  :initialization_vector,
  :kms_key_region)
  include Aws::Structure
end