Class: Aws::Translate::Types::EncryptionKey

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-translate/types.rb

Overview

Note:

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

{
  type: "KMS", # required, accepts KMS
  id: "EncryptionKeyID", # required
}

The encryption key used to encrypt this object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.

Returns:

  • (String)


280
281
282
283
284
285
# File 'lib/aws-sdk-translate/types.rb', line 280

class EncryptionKey < Struct.new(
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of encryption key used by Amazon Translate to encrypt custom terminologies.

Returns:

  • (String)


280
281
282
283
284
285
# File 'lib/aws-sdk-translate/types.rb', line 280

class EncryptionKey < Struct.new(
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end