Class: Aws::Polly::Types::CustomerManagedEncryption
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::CustomerManagedEncryption
- Defined in:
- gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb
Overview
The customer managed key that encrypts your custom voice. If you don't specify a key, Amazon Polly encrypts the voice with an Amazon Web Services owned key.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encryption_context ⇒ Hash<String,String>
The key-value pairs that Amazon Polly includes as the encryption context when it encrypts or decrypts the voice with the key.
-
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of the key.
Instance Attribute Details
#encryption_context ⇒ Hash<String,String>
The key-value pairs that Amazon Polly includes as the encryption
context when it encrypts or decrypts the voice with the key. You can
use these pairs in key policy conditions. Don't use keys that start
with aws:, which are reserved.
200 201 202 203 204 205 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 200 class CustomerManagedEncryption < Struct.new( :kms_key_arn, :encryption_context) SENSITIVE = [] include Aws::Structure end |
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of the key. The key must be a
symmetric encryption key in the same Amazon Web Services Region as
the voice. To create the voice, you need kms:DescribeKey,
kms:GenerateDataKey, and kms:Decrypt permissions on the key. To
synthesize speech with the voice, you need kms:Decrypt permission
on the key.
200 201 202 203 204 205 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 200 class CustomerManagedEncryption < Struct.new( :kms_key_arn, :encryption_context) SENSITIVE = [] include Aws::Structure end |