import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudPostgresqlAccountPrivilegesConfig extends cdktf.TerraformMetaArguments { /** * Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#db_instance_id DataTencentcloudPostgresqlAccountPrivileges#db_instance_id} */ readonly dbInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#id DataTencentcloudPostgresqlAccountPrivileges#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/postgresql_account_privileges#result_output_file DataTencentcloudPostgresqlAccountPrivileges#result_output_file} */ readonly resultOutputFile?: string; /** * Instance username. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#user_name DataTencentcloudPostgresqlAccountPrivileges#user_name} */ readonly userName: string; /** * database_object_set block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#database_object_set DataTencentcloudPostgresqlAccountPrivileges#database_object_set} */ readonly databaseObjectSet: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet[] | cdktf.IResolvable; } export interface DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObject { } export declare function dataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectToTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObject): any; export declare function dataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectToHclTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObject): any; export declare class DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectOutputReference 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(): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObject | undefined; set internalValue(value: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObject | undefined); get databaseName(): any; get objectName(): any; get objectType(): any; get schemaName(): any; get tableName(): any; } export declare class DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectList 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): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectOutputReference; } export interface DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSet { } export declare function dataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetToTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSet): any; export declare function dataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetToHclTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSet): any; export declare class DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetOutputReference 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(): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSet | undefined; set internalValue(value: DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSet | undefined); private _object; get object(): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetObjectList; get privilegeSet(): any; } export declare class DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetList 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): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetOutputReference; } export interface DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet { /** * Database name to which the database object belongs. This parameter is mandatory when ObjectType is not database.Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#database_name DataTencentcloudPostgresqlAccountPrivileges#database_name} */ readonly databaseName?: string; /** * Database object Name.Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#object_name DataTencentcloudPostgresqlAccountPrivileges#object_name} */ readonly objectName: string; /** * Supported database object types: account, database, schema, sequence, procedure, type, function, table, view, matview, column. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#object_type DataTencentcloudPostgresqlAccountPrivileges#object_type} */ readonly objectType: string; /** * Schema name to which the database object belongs. This parameter is mandatory when ObjectType is not database or schema.Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#schema_name DataTencentcloudPostgresqlAccountPrivileges#schema_name} */ readonly schemaName?: string; /** * Table name to which the database object belongs. This parameter is mandatory when ObjectType is column.Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#table_name DataTencentcloudPostgresqlAccountPrivileges#table_name} */ readonly tableName?: string; } export declare function dataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetToTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet | cdktf.IResolvable): any; export declare function dataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetToHclTerraform(struct?: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet | cdktf.IResolvable): any; export declare class DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet | cdktf.IResolvable | undefined); private _databaseName?; get databaseName(): string; set databaseName(value: string); resetDatabaseName(): void; get databaseNameInput(): string; private _objectName?; get objectName(): string; set objectName(value: string); get objectNameInput(): string; private _objectType?; get objectType(): string; set objectType(value: string); get objectTypeInput(): string; private _schemaName?; get schemaName(): string; set schemaName(value: string); resetSchemaName(): void; get schemaNameInput(): string; private _tableName?; get tableName(): string; set tableName(value: string); resetTableName(): void; get tableNameInput(): string; } export declare class DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet[] | cdktf.IResolvable; /** * @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): DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges tencentcloud_postgresql_account_privileges} */ export declare class DataTencentcloudPostgresqlAccountPrivileges extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_postgresql_account_privileges"; /** * Generates CDKTF code for importing a DataTencentcloudPostgresqlAccountPrivileges 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 DataTencentcloudPostgresqlAccountPrivileges to import * @param importFromId The id of the existing DataTencentcloudPostgresqlAccountPrivileges that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_account_privileges#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudPostgresqlAccountPrivileges 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/postgresql_account_privileges tencentcloud_postgresql_account_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 DataTencentcloudPostgresqlAccountPrivilegesConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudPostgresqlAccountPrivilegesConfig); private _dbInstanceId?; get dbInstanceId(): string; set dbInstanceId(value: string); get dbInstanceIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _privilegeSet; get privilegeSet(): DataTencentcloudPostgresqlAccountPrivilegesPrivilegeSetList; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _userName?; get userName(): string; set userName(value: string); get userNameInput(): string; private _databaseObjectSet; get databaseObjectSet(): DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSetList; putDatabaseObjectSet(value: DataTencentcloudPostgresqlAccountPrivilegesDatabaseObjectSet[] | cdktf.IResolvable): void; get databaseObjectSetInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }