AWS::Polly::Lexicon

Polly Lexicon

Resource Type definition for AWS::Polly::Lexicon. A pronunciation lexicon that stores custom pronunciations for speech synthesis.

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Content
string
Required
Name
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AlphabetstringThe phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
ArnstringThe Amazon Resource Name (ARN) of the lexicon.
LanguageCodestringThe language code that the lexicon applies to.
LastModifiedstringThe date the lexicon was last modified (ISO 8601 timestamp).
LexemesCountintegerThe number of lexemes in the lexicon.
SizeintegerThe total size of the lexicon, in characters.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Polly::Lexicon

Resources:
  MyResource:
    Type: AWS::Polly::Lexicon
    Properties:
      Name: "my-name"
      Content: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

polly:PutLexiconpolly:GetLexicon

read

polly:GetLexicon

update

polly:PutLexiconpolly:GetLexicon

delete

polly:DeleteLexiconpolly:GetLexicon

list

polly:ListLexicons

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServicePolly
Properties8
Required2
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links