Terraform data source for managing an AWS Polly Voices.
data "aws_polly_voices" "example" {}
data "aws_polly_voices" "example" {
language_code = "en-GB"
}
The following arguments are optional:
engine
- (Optional) Engine used by Amazon Polly when processing input text for speech synthesis. Valid values are standard
, neural
, and long-form
.include_additional_language_codes
- (Optional) Whether to return any bilingual voices that use the specified language as an additional language.language_code
- (Optional) Language identification tag for filtering the list of voices returned. If not specified, all available voices are returned.This data source exports the following attributes in addition to the arguments above:
id
- AWS account ID.voices
- List of voices with their properties. See voices
Attribute Reference below.voices
Attribute ReferenceSee the AWS Polly Voice documentation for additional details.
additional_language_codes
- Additional codes for languages available for the specified voice in addition to its default language.gender
- Gender of the voice.id
- Amazon Polly assigned voice ID.language_code
- Language code of the voice.language_name
- Human readable name of the language in English.name
- Name of the voice.supported_engines
- Specifies which engines are supported by a given voice.