import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MpsAiRecognitionTemplateConfig extends cdktf.TerraformMetaArguments { /** * Ai recognition template description information, length limit: 256 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#comment MpsAiRecognitionTemplate#comment} */ readonly comment?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#id MpsAiRecognitionTemplate#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Ai recognition template name, length limit: 64 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#name MpsAiRecognitionTemplate#name} */ readonly name?: string; /** * asr_full_text_configure block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#asr_full_text_configure MpsAiRecognitionTemplate#asr_full_text_configure} */ readonly asrFullTextConfigure?: MpsAiRecognitionTemplateAsrFullTextConfigure; /** * asr_words_configure block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#asr_words_configure MpsAiRecognitionTemplate#asr_words_configure} */ readonly asrWordsConfigure?: MpsAiRecognitionTemplateAsrWordsConfigure; /** * face_configure block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#face_configure MpsAiRecognitionTemplate#face_configure} */ readonly faceConfigure?: MpsAiRecognitionTemplateFaceConfigure; /** * ocr_full_text_configure block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#ocr_full_text_configure MpsAiRecognitionTemplate#ocr_full_text_configure} */ readonly ocrFullTextConfigure?: MpsAiRecognitionTemplateOcrFullTextConfigure; /** * ocr_words_configure block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#ocr_words_configure MpsAiRecognitionTemplate#ocr_words_configure} */ readonly ocrWordsConfigure?: MpsAiRecognitionTemplateOcrWordsConfigure; } export interface MpsAiRecognitionTemplateAsrFullTextConfigure { /** * Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#subtitle_format MpsAiRecognitionTemplate#subtitle_format} */ readonly subtitleFormat?: string; /** * Asr full text recognition task switch, optional value:ON/OFF. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#switch MpsAiRecognitionTemplate#switch} */ readonly switch: string; } export declare function mpsAiRecognitionTemplateAsrFullTextConfigureToTerraform(struct?: MpsAiRecognitionTemplateAsrFullTextConfigureOutputReference | MpsAiRecognitionTemplateAsrFullTextConfigure): any; export declare function mpsAiRecognitionTemplateAsrFullTextConfigureToHclTerraform(struct?: MpsAiRecognitionTemplateAsrFullTextConfigureOutputReference | MpsAiRecognitionTemplateAsrFullTextConfigure): any; export declare class MpsAiRecognitionTemplateAsrFullTextConfigureOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MpsAiRecognitionTemplateAsrFullTextConfigure | undefined; set internalValue(value: MpsAiRecognitionTemplateAsrFullTextConfigure | undefined); private _subtitleFormat?; get subtitleFormat(): string; set subtitleFormat(value: string); resetSubtitleFormat(): void; get subtitleFormatInput(): string; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface MpsAiRecognitionTemplateAsrWordsConfigure { /** * Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#label_set MpsAiRecognitionTemplate#label_set} */ readonly labelSet?: string[]; /** * Asr word recognition task switch, optional value:ON/OFF. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#switch MpsAiRecognitionTemplate#switch} */ readonly switch: string; } export declare function mpsAiRecognitionTemplateAsrWordsConfigureToTerraform(struct?: MpsAiRecognitionTemplateAsrWordsConfigureOutputReference | MpsAiRecognitionTemplateAsrWordsConfigure): any; export declare function mpsAiRecognitionTemplateAsrWordsConfigureToHclTerraform(struct?: MpsAiRecognitionTemplateAsrWordsConfigureOutputReference | MpsAiRecognitionTemplateAsrWordsConfigure): any; export declare class MpsAiRecognitionTemplateAsrWordsConfigureOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MpsAiRecognitionTemplateAsrWordsConfigure | undefined; set internalValue(value: MpsAiRecognitionTemplateAsrWordsConfigure | undefined); private _labelSet?; get labelSet(): string[]; set labelSet(value: string[]); resetLabelSet(): void; get labelSetInput(): string[]; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface MpsAiRecognitionTemplateFaceConfigure { /** * Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#default_library_label_set MpsAiRecognitionTemplate#default_library_label_set} */ readonly defaultLibraryLabelSet?: string[]; /** * Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#face_library MpsAiRecognitionTemplate#face_library} */ readonly faceLibrary?: string; /** * Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#score MpsAiRecognitionTemplate#score} */ readonly score?: number; /** * Ai face recognition task switch, optional value:ON/OFF. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#switch MpsAiRecognitionTemplate#switch} */ readonly switch: string; /** * User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#user_define_library_label_set MpsAiRecognitionTemplate#user_define_library_label_set} */ readonly userDefineLibraryLabelSet?: string[]; } export declare function mpsAiRecognitionTemplateFaceConfigureToTerraform(struct?: MpsAiRecognitionTemplateFaceConfigureOutputReference | MpsAiRecognitionTemplateFaceConfigure): any; export declare function mpsAiRecognitionTemplateFaceConfigureToHclTerraform(struct?: MpsAiRecognitionTemplateFaceConfigureOutputReference | MpsAiRecognitionTemplateFaceConfigure): any; export declare class MpsAiRecognitionTemplateFaceConfigureOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MpsAiRecognitionTemplateFaceConfigure | undefined; set internalValue(value: MpsAiRecognitionTemplateFaceConfigure | undefined); private _defaultLibraryLabelSet?; get defaultLibraryLabelSet(): string[]; set defaultLibraryLabelSet(value: string[]); resetDefaultLibraryLabelSet(): void; get defaultLibraryLabelSetInput(): string[]; private _faceLibrary?; get faceLibrary(): string; set faceLibrary(value: string); resetFaceLibrary(): void; get faceLibraryInput(): string; private _score?; get score(): number; set score(value: number); resetScore(): void; get scoreInput(): number; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; private _userDefineLibraryLabelSet?; get userDefineLibraryLabelSet(): string[]; set userDefineLibraryLabelSet(value: string[]); resetUserDefineLibraryLabelSet(): void; get userDefineLibraryLabelSetInput(): string[]; } export interface MpsAiRecognitionTemplateOcrFullTextConfigure { /** * Ocr full text recognition task switch, optional value:ON/OFF. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#switch MpsAiRecognitionTemplate#switch} */ readonly switch: string; } export declare function mpsAiRecognitionTemplateOcrFullTextConfigureToTerraform(struct?: MpsAiRecognitionTemplateOcrFullTextConfigureOutputReference | MpsAiRecognitionTemplateOcrFullTextConfigure): any; export declare function mpsAiRecognitionTemplateOcrFullTextConfigureToHclTerraform(struct?: MpsAiRecognitionTemplateOcrFullTextConfigureOutputReference | MpsAiRecognitionTemplateOcrFullTextConfigure): any; export declare class MpsAiRecognitionTemplateOcrFullTextConfigureOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MpsAiRecognitionTemplateOcrFullTextConfigure | undefined; set internalValue(value: MpsAiRecognitionTemplateOcrFullTextConfigure | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface MpsAiRecognitionTemplateOcrWordsConfigure { /** * Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#label_set MpsAiRecognitionTemplate#label_set} */ readonly labelSet?: string[]; /** * Ocr words recognition task switch, optional value:ON/OFF. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#switch MpsAiRecognitionTemplate#switch} */ readonly switch: string; } export declare function mpsAiRecognitionTemplateOcrWordsConfigureToTerraform(struct?: MpsAiRecognitionTemplateOcrWordsConfigureOutputReference | MpsAiRecognitionTemplateOcrWordsConfigure): any; export declare function mpsAiRecognitionTemplateOcrWordsConfigureToHclTerraform(struct?: MpsAiRecognitionTemplateOcrWordsConfigureOutputReference | MpsAiRecognitionTemplateOcrWordsConfigure): any; export declare class MpsAiRecognitionTemplateOcrWordsConfigureOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MpsAiRecognitionTemplateOcrWordsConfigure | undefined; set internalValue(value: MpsAiRecognitionTemplateOcrWordsConfigure | undefined); private _labelSet?; get labelSet(): string[]; set labelSet(value: string[]); resetLabelSet(): void; get labelSetInput(): string[]; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template tencentcloud_mps_ai_recognition_template} */ export declare class MpsAiRecognitionTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mps_ai_recognition_template"; /** * Generates CDKTF code for importing a MpsAiRecognitionTemplate resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the MpsAiRecognitionTemplate to import * @param importFromId The id of the existing MpsAiRecognitionTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MpsAiRecognitionTemplate to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mps_ai_recognition_template tencentcloud_mps_ai_recognition_template} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options MpsAiRecognitionTemplateConfig = {} */ constructor(scope: Construct, id: string, config?: MpsAiRecognitionTemplateConfig); private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _asrFullTextConfigure; get asrFullTextConfigure(): MpsAiRecognitionTemplateAsrFullTextConfigureOutputReference; putAsrFullTextConfigure(value: MpsAiRecognitionTemplateAsrFullTextConfigure): void; resetAsrFullTextConfigure(): void; get asrFullTextConfigureInput(): MpsAiRecognitionTemplateAsrFullTextConfigure; private _asrWordsConfigure; get asrWordsConfigure(): MpsAiRecognitionTemplateAsrWordsConfigureOutputReference; putAsrWordsConfigure(value: MpsAiRecognitionTemplateAsrWordsConfigure): void; resetAsrWordsConfigure(): void; get asrWordsConfigureInput(): MpsAiRecognitionTemplateAsrWordsConfigure; private _faceConfigure; get faceConfigure(): MpsAiRecognitionTemplateFaceConfigureOutputReference; putFaceConfigure(value: MpsAiRecognitionTemplateFaceConfigure): void; resetFaceConfigure(): void; get faceConfigureInput(): MpsAiRecognitionTemplateFaceConfigure; private _ocrFullTextConfigure; get ocrFullTextConfigure(): MpsAiRecognitionTemplateOcrFullTextConfigureOutputReference; putOcrFullTextConfigure(value: MpsAiRecognitionTemplateOcrFullTextConfigure): void; resetOcrFullTextConfigure(): void; get ocrFullTextConfigureInput(): MpsAiRecognitionTemplateOcrFullTextConfigure; private _ocrWordsConfigure; get ocrWordsConfigure(): MpsAiRecognitionTemplateOcrWordsConfigureOutputReference; putOcrWordsConfigure(value: MpsAiRecognitionTemplateOcrWordsConfigure): void; resetOcrWordsConfigure(): void; get ocrWordsConfigureInput(): MpsAiRecognitionTemplateOcrWordsConfigure; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }