Interface CustomerManagedEncryption.Builder

  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionContext

      CustomerManagedEncryption.Builder encryptionContext(Map<String,String> 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.