import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlAccountPrivilegeConfig extends cdktf.TerraformMetaArguments { /** * Account host, default is `%`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#account_host MysqlAccountPrivilege#account_host} */ readonly accountHost?: string; /** * Account name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#account_name MysqlAccountPrivilege#account_name} */ readonly accountName: string; /** * List of specified database name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#database_names MysqlAccountPrivilege#database_names} */ readonly databaseNames: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#id MysqlAccountPrivilege#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; /** * Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#mysql_id MysqlAccountPrivilege#mysql_id} */ readonly mysqlId: string; /** * Database permissions. Valid values: `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`, `REFERENCES`, `INDEX`, `ALTER`, `CREATE TEMPORARY TABLES`, `LOCK TABLES`, `EXECUTE`, `CREATE VIEW`, `SHOW VIEW`, `CREATE ROUTINE`, `ALTER ROUTINE`, `EVENT` and `TRIGGER``. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#privileges MysqlAccountPrivilege#privileges} */ readonly privileges?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege tencentcloud_mysql_account_privilege} */ export declare class MysqlAccountPrivilege extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_account_privilege"; /** * Generates CDKTF code for importing a MysqlAccountPrivilege 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 MysqlAccountPrivilege to import * @param importFromId The id of the existing MysqlAccountPrivilege that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account_privilege#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlAccountPrivilege 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_account_privilege tencentcloud_mysql_account_privilege} 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 MysqlAccountPrivilegeConfig */ constructor(scope: Construct, id: string, config: MysqlAccountPrivilegeConfig); private _accountHost?; get accountHost(): string; set accountHost(value: string); resetAccountHost(): void; get accountHostInput(): string; private _accountName?; get accountName(): string; set accountName(value: string); get accountNameInput(): string; private _databaseNames?; get databaseNames(): string[]; set databaseNames(value: string[]); get databaseNamesInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _mysqlId?; get mysqlId(): string; set mysqlId(value: string); get mysqlIdInput(): string; private _privileges?; get privileges(): string[]; set privileges(value: string[]); resetPrivileges(): void; get privilegesInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }