import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { ILexiconRef, LexiconReference } from "../../interfaces/generated/aws-polly-interfaces.generated"; /** * Resource Type definition for AWS::Polly::Lexicon. * * A pronunciation lexicon that stores custom pronunciations for speech synthesis. * * @cloudformationResource AWS::Polly::Lexicon * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-polly-lexicon.html */ export declare class CfnLexicon extends cdk.CfnResource implements cdk.IInspectable, ILexiconRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnLexicon from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnLexicon; /** * Checks whether the given object is a CfnLexicon */ static isCfnLexicon(x: any): x is CfnLexicon; static arnForLexicon(resource: ILexiconRef): string; /** * The content of the PLS lexicon in string format. */ private _content; /** * The name of the lexicon. */ private _name; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::Polly::Lexicon`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnLexiconProps); get lexiconRef(): LexiconReference; /** * The content of the PLS lexicon in string format. */ get content(): string; /** * The content of the PLS lexicon in string format. */ set content(value: string); /** * The name of the lexicon. */ get name(): string; /** * The name of the lexicon. */ set name(value: string); /** * The phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa. * * @cloudformationAttribute Alphabet */ get attrAlphabet(): string; /** * The Amazon Resource Name (ARN) of the lexicon. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The language code that the lexicon applies to. * * @cloudformationAttribute LanguageCode */ get attrLanguageCode(): string; /** * The date the lexicon was last modified (ISO 8601 timestamp). * * @cloudformationAttribute LastModified */ get attrLastModified(): string; /** * The number of lexemes in the lexicon. * * @cloudformationAttribute LexemesCount */ get attrLexemesCount(): number; /** * The total size of the lexicon, in characters. * * @cloudformationAttribute Size */ get attrSize(): number; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } /** * Properties for defining a `CfnLexicon` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-polly-lexicon.html */ export interface CfnLexiconProps { /** * The content of the PLS lexicon in string format. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-polly-lexicon.html#cfn-polly-lexicon-content */ readonly content: string; /** * The name of the lexicon. * * Must be an alphanumeric string up to 20 characters long. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-polly-lexicon.html#cfn-polly-lexicon-name */ readonly name: string; } export type { ILexiconRef, LexiconReference };