import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudCynosdbAccountAllGrantPrivilegesConfig extends cdktf.TerraformMetaArguments { /** * Cluster ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#cluster_id DataTencentcloudCynosdbAccountAllGrantPrivileges#cluster_id} */ readonly clusterId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#id DataTencentcloudCynosdbAccountAllGrantPrivileges#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; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#result_output_file DataTencentcloudCynosdbAccountAllGrantPrivileges#result_output_file} */ readonly resultOutputFile?: string; /** * account block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#account DataTencentcloudCynosdbAccountAllGrantPrivileges#account} */ readonly account: DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount; } export interface DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivileges { } export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesToTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivileges): any; export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesToHclTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivileges): any; export declare class DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivileges | undefined; set internalValue(value: DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivileges | undefined); get db(): any; get privileges(): any; } export declare class DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesOutputReference; } export interface DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivileges { } export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesToTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivileges): any; export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesToHclTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivileges): any; export declare class DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivileges | undefined; set internalValue(value: DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivileges | undefined); get db(): any; get privileges(): any; get tableName(): any; } export declare class DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesOutputReference; } export interface DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount { /** * Account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#account_name DataTencentcloudCynosdbAccountAllGrantPrivileges#account_name} */ readonly accountName: string; /** * Host, default `%`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#host DataTencentcloudCynosdbAccountAllGrantPrivileges#host} */ readonly host?: string; } export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesAccountToTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesAccountOutputReference | DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount): any; export declare function dataTencentcloudCynosdbAccountAllGrantPrivilegesAccountToHclTerraform(struct?: DataTencentcloudCynosdbAccountAllGrantPrivilegesAccountOutputReference | DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount): any; export declare class DataTencentcloudCynosdbAccountAllGrantPrivilegesAccountOutputReference 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(): DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount | undefined; set internalValue(value: DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount | undefined); private _accountName?; get accountName(): string; set accountName(value: string); get accountNameInput(): string; private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges tencentcloud_cynosdb_account_all_grant_privileges} */ export declare class DataTencentcloudCynosdbAccountAllGrantPrivileges extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_cynosdb_account_all_grant_privileges"; /** * Generates CDKTF code for importing a DataTencentcloudCynosdbAccountAllGrantPrivileges 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 DataTencentcloudCynosdbAccountAllGrantPrivileges to import * @param importFromId The id of the existing DataTencentcloudCynosdbAccountAllGrantPrivileges that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cynosdb_account_all_grant_privileges#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudCynosdbAccountAllGrantPrivileges 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/data-sources/cynosdb_account_all_grant_privileges tencentcloud_cynosdb_account_all_grant_privileges} Data Source * * @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 DataTencentcloudCynosdbAccountAllGrantPrivilegesConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudCynosdbAccountAllGrantPrivilegesConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _databasePrivileges; get databasePrivileges(): DataTencentcloudCynosdbAccountAllGrantPrivilegesDatabasePrivilegesList; get globalPrivileges(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get privilegeStatements(): any; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _tablePrivileges; get tablePrivileges(): DataTencentcloudCynosdbAccountAllGrantPrivilegesTablePrivilegesList; private _account; get account(): DataTencentcloudCynosdbAccountAllGrantPrivilegesAccountOutputReference; putAccount(value: DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount): void; get accountInput(): DataTencentcloudCynosdbAccountAllGrantPrivilegesAccount; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }