We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
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.
- 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 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 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.
- 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 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.
- 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 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.
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi