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

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.

    Using getLexicon

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLexicon(args: GetLexiconArgs, opts?: InvokeOptions): Promise<GetLexiconResult>
    function getLexiconOutput(args: GetLexiconOutputArgs, opts?: InvokeOutputOptions): Output<GetLexiconResult>
    def get_lexicon(arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetLexiconResult
    def get_lexicon_output(arn: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetLexiconResult]
    func LookupLexicon(ctx *Context, args *LookupLexiconArgs, opts ...InvokeOption) (*LookupLexiconResult, error)
    func LookupLexiconOutput(ctx *Context, args *LookupLexiconOutputArgs, opts ...InvokeOption) LookupLexiconResultOutput

    > Note: This function is named LookupLexicon in the Go SDK.

    public static class GetLexicon 
    {
        public static Task<GetLexiconResult> InvokeAsync(GetLexiconArgs args, InvokeOptions? opts = null)
        public static Output<GetLexiconResult> Invoke(GetLexiconInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetLexiconResult> Invoke(GetLexiconInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLexiconResult> getLexicon(GetLexiconArgs args, InvokeOptions options)
    public static Output<GetLexiconResult> getLexicon(GetLexiconArgs args, InvokeOptions options)
    public static Output<GetLexiconResult> getLexicon(GetLexiconArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:polly:getLexicon
      arguments:
        # arguments dictionary
    data "aws-native_polly_get_lexicon" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the lexicon.
    Arn string
    The Amazon Resource Name (ARN) of the lexicon.
    arn string
    The Amazon Resource Name (ARN) of the lexicon.
    arn String
    The Amazon Resource Name (ARN) of the lexicon.
    arn string
    The Amazon Resource Name (ARN) of the lexicon.
    arn str
    The Amazon Resource Name (ARN) of the lexicon.
    arn String
    The Amazon Resource Name (ARN) of the lexicon.

    getLexicon Result

    The following output properties are available:

    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.
    Content string
    The content of the PLS lexicon in string format.
    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.
    Content string
    The content of the PLS lexicon in string format.
    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.
    content string
    The content of the PLS lexicon in string format.
    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.
    content String
    The content of the PLS lexicon in string format.
    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.
    content string
    The content of the PLS lexicon in string format.
    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.
    content str
    The content of the PLS lexicon in string format.
    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.
    content String
    The content of the PLS lexicon in string format.
    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