CustomerManagedEncryption
¶
Used by
-
AsyncPollyClient Operationscreate_voice -
PollyClient Operationscreate_voice
Source code in docs_src/capo_polly/types/customer_managed_encryption.py
encryption_context
instance-attribute
¶
encryption_context: NotRequired[EncryptionContext]
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.
kms_key_arn
instance-attribute
¶
kms_key_arn: KmsKeyArn
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.