1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. polly
  6. Lexicon

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

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

    Create Lexicon Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Lexicon(name: string, args: LexiconArgs, opts?: CustomResourceOptions);
    @overload
    def Lexicon(resource_name: str,
                args: LexiconArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lexicon(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                content: Optional[str] = None,
                name: Optional[str] = None)
    func NewLexicon(ctx *Context, name string, args LexiconArgs, opts ...ResourceOption) (*Lexicon, error)
    public Lexicon(string name, LexiconArgs args, CustomResourceOptions? opts = null)
    public Lexicon(String name, LexiconArgs args)
    public Lexicon(String name, LexiconArgs args, CustomResourceOptions options)
    
    type: aws-native:polly:Lexicon
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_polly_lexicon" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LexiconArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LexiconArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LexiconArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LexiconArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LexiconArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Lexicon Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Lexicon resource accepts the following input properties:

    Content string
    The content of the PLS lexicon in string format.
    Name string
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    Content string
    The content of the PLS lexicon in string format.
    Name string
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    content string
    The content of the PLS lexicon in string format.
    name string
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    content String
    The content of the PLS lexicon in string format.
    name String
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    content string
    The content of the PLS lexicon in string format.
    name string
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    content str
    The content of the PLS lexicon in string format.
    name str
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.
    content String
    The content of the PLS lexicon in string format.
    name String
    The name of the lexicon. Must be an alphanumeric string up to 20 characters long.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Lexicon resource produces the following output properties:

    Alphabet string
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    Arn string
    The Amazon Resource Name (ARN) of the lexicon.
    Id string
    The provider-assigned unique ID for this managed resource.
    LanguageCode string
    The language code that the lexicon applies to.
    LastModified string
    The date the lexicon was last modified (ISO 8601 timestamp).
    LexemesCount int
    The number of lexemes in the lexicon.
    Size int
    The total size of the lexicon, in characters.
    Alphabet string
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    Arn string
    The Amazon Resource Name (ARN) of the lexicon.
    Id string
    The provider-assigned unique ID for this managed resource.
    LanguageCode string
    The language code that the lexicon applies to.
    LastModified string
    The date the lexicon was last modified (ISO 8601 timestamp).
    LexemesCount int
    The number of lexemes in the lexicon.
    Size int
    The total size of the lexicon, in characters.
    alphabet string
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    arn string
    The Amazon Resource Name (ARN) of the lexicon.
    id string
    The provider-assigned unique ID for this managed resource.
    language_code string
    The language code that the lexicon applies to.
    last_modified string
    The date the lexicon was last modified (ISO 8601 timestamp).
    lexemes_count number
    The number of lexemes in the lexicon.
    size number
    The total size of the lexicon, in characters.
    alphabet String
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    arn String
    The Amazon Resource Name (ARN) of the lexicon.
    id String
    The provider-assigned unique ID for this managed resource.
    languageCode String
    The language code that the lexicon applies to.
    lastModified String
    The date the lexicon was last modified (ISO 8601 timestamp).
    lexemesCount Integer
    The number of lexemes in the lexicon.
    size Integer
    The total size of the lexicon, in characters.
    alphabet string
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    arn string
    The Amazon Resource Name (ARN) of the lexicon.
    id string
    The provider-assigned unique ID for this managed resource.
    languageCode string
    The language code that the lexicon applies to.
    lastModified string
    The date the lexicon was last modified (ISO 8601 timestamp).
    lexemesCount number
    The number of lexemes in the lexicon.
    size number
    The total size of the lexicon, in characters.
    alphabet str
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    arn str
    The Amazon Resource Name (ARN) of the lexicon.
    id str
    The provider-assigned unique ID for this managed resource.
    language_code str
    The language code that the lexicon applies to.
    last_modified str
    The date the lexicon was last modified (ISO 8601 timestamp).
    lexemes_count int
    The number of lexemes in the lexicon.
    size int
    The total size of the lexicon, in characters.
    alphabet String
    The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
    arn String
    The Amazon Resource Name (ARN) of the lexicon.
    id String
    The provider-assigned unique ID for this managed resource.
    languageCode String
    The language code that the lexicon applies to.
    lastModified String
    The date the lexicon was last modified (ISO 8601 timestamp).
    lexemesCount Number
    The number of lexemes in the lexicon.
    size Number
    The total size of the lexicon, in characters.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial