Amazon Polly
Managed text to speech returning an audio stream or a long-form audio file.
- Provider
- aws
- Kind
- AI service
- Category
- Compute
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auth | enum | api-key | oauth | iam | none | no | — | ▸ iam |
| contentFiltering | boolean | — | no | — | inherited |
| customerManagedKeys | boolean | — | no | — | ▸ false |
| dataResidency | enum | us | eu | asia | global | no | — | inherited |
| dataRetentionDays | integer | — | no | — | inherited |
| engine | enum | standard | neural | long-form | generative | no | standard | inherited |
| keyStore | boolean | — | no | false | inherited |
| lexiconsPerAccount | integer | — | no | 100 | inherited |
| managed | boolean | — | no | false | ▸ true |
| maxBilledCharactersPerRequest | integer | — | no | 3000 | inherited |
| maxOutputStreamMinutes | integer | — | no | 10 | inherited |
| modality | enum | text | vision | speech | multimodal | structured | image | video | audio | embedding | rerank | no | — | ▸ speech |
| publicEndpoint | boolean | — | no | — | ▸ true |
| quotaUnitsPerMinute | integer | — | no | — | ▸ 4800 |
| rateLimitRpm | integer | — | no | — | inherited |
| rateLimitTpm | integer | — | no | — | inherited |
| synthesisMode | enum | synchronous | asynchronous-task | no | synchronous | inherited |
| viaGateway | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.
- — all of these hold:
- — the node's `auth` is "api-key"
- — the node's `keyStore` is false
- — the node has at least one incoming edge from an app-server, worker or client
- — this does not hold:
- — the design contains a node of kind key-management
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "polly", component: "aws-polly" }# yaml-language-server: $schema=../../schema/component.schema.json # Amazon Polly: managed text to speech that returns an audio stream synchronously or writes long audio to Amazon S3 as a speech synthesis task. # "Quotas in Amazon Polly" gives the defaults: standard voices at 80 SynthesizeSpeech transactions per second (4,800 per minute) against 8 for neural, long-form and generative voices, 3,000 billed characters per synchronous request, a 10-minute output stream and 100 pronunciation lexicons per account. schemaVersion: "1" type: "component" id: "aws-polly" kind: "ai-service" provider: "aws" docs: "https://docs.aws.amazon.com/polly/latest/dg/limits.html" defaults: auth: "iam" managed: true modality: "speech" publicEndpoint: true customerManagedKeys: false quotaUnitsPerMinute: 4800 properties: engine: type: "enum" values: ["standard", "neural", "long-form", "generative"] default: "standard" synthesisMode: type: "enum" values: ["synchronous", "asynchronous-task"] default: "synchronous" maxBilledCharactersPerRequest: type: "integer" default: 3000 maxOutputStreamMinutes: type: "integer" default: 10 lexiconsPerAccount: type: "integer" default: 100