import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlClsLogAttachmentConfig extends cdktf.TerraformMetaArguments { /** * Cls region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#cls_region MysqlClsLogAttachment#cls_region} */ readonly clsRegion?: string; /** * Whether to create index. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#create_index MysqlClsLogAttachment#create_index} */ readonly createIndex?: boolean | cdktf.IResolvable; /** * Whether to create log set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#create_log_set MysqlClsLogAttachment#create_log_set} */ readonly createLogSet?: boolean | cdktf.IResolvable; /** * Whether to create log topic. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#create_log_topic MysqlClsLogAttachment#create_log_topic} */ readonly createLogTopic?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#id MysqlClsLogAttachment#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; /** * The id of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#instance_id MysqlClsLogAttachment#instance_id} */ readonly instanceId: string; /** * If `create_log_set` is `true`, use log set name, Else use log set Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#log_set MysqlClsLogAttachment#log_set} */ readonly logSet: string; /** * If `create_log_topic` is `true`, use log topic name, Else use log topic Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#log_topic MysqlClsLogAttachment#log_topic} */ readonly logTopic: string; /** * Log type. Support `error` or `slowlog`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#log_type MysqlClsLogAttachment#log_type} */ readonly logType: string; /** * The validity period of the log theme is 30 days by default when not filled in. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#period MysqlClsLogAttachment#period} */ readonly period?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment tencentcloud_mysql_cls_log_attachment} */ export declare class MysqlClsLogAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_cls_log_attachment"; /** * Generates CDKTF code for importing a MysqlClsLogAttachment 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 MysqlClsLogAttachment to import * @param importFromId The id of the existing MysqlClsLogAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_cls_log_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlClsLogAttachment 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/mysql_cls_log_attachment tencentcloud_mysql_cls_log_attachment} 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 MysqlClsLogAttachmentConfig */ constructor(scope: Construct, id: string, config: MysqlClsLogAttachmentConfig); private _clsRegion?; get clsRegion(): string; set clsRegion(value: string); resetClsRegion(): void; get clsRegionInput(): string; private _createIndex?; get createIndex(): boolean | cdktf.IResolvable; set createIndex(value: boolean | cdktf.IResolvable); resetCreateIndex(): void; get createIndexInput(): any; private _createLogSet?; get createLogSet(): boolean | cdktf.IResolvable; set createLogSet(value: boolean | cdktf.IResolvable); resetCreateLogSet(): void; get createLogSetInput(): any; private _createLogTopic?; get createLogTopic(): boolean | cdktf.IResolvable; set createLogTopic(value: boolean | cdktf.IResolvable); resetCreateLogTopic(): void; get createLogTopicInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _logSet?; get logSet(): string; set logSet(value: string); get logSetInput(): string; get logSetId(): any; private _logTopic?; get logTopic(): string; set logTopic(value: string); get logTopicInput(): string; get logTopicId(): any; private _logType?; get logType(): string; set logType(value: string); get logTypeInput(): string; private _period?; get period(): number; set period(value: number); resetPeriod(): void; get periodInput(): number; get status(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }