import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlAccountConfig extends cdktf.TerraformMetaArguments { /** * Instance ID in the format of postgres-4wdeb0zv. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#db_instance_id PostgresqlAccount#db_instance_id} */ readonly dbInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#id PostgresqlAccount#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; /** * whether lock account. true: locked; false: unlock. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#lock_status PostgresqlAccount#lock_status} */ readonly lockStatus?: boolean | cdktf.IResolvable; /** * Password, which can contain 8-32 letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;'<>,.?/); can't start with slash /. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#password PostgresqlAccount#password} */ readonly password: string; /** * Remarks correspond to user `UserName`, which can contain 0-60 letters, digits, symbols (-_), and Chinese characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#remark PostgresqlAccount#remark} */ readonly remark?: string; /** * The type of user. Valid values: 1. normal: regular user; 2. tencentDBSuper: user with the pg_tencentdb_superuser role. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#type PostgresqlAccount#type} */ readonly type: string; /** * Instance username, which can contain 1-16 letters, digits, and underscore (_); can't be postgres; can't start with numbers, pg_, and tencentdb_. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#user_name PostgresqlAccount#user_name} */ readonly userName: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account tencentcloud_postgresql_account} */ export declare class PostgresqlAccount extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_account"; /** * Generates CDKTF code for importing a PostgresqlAccount 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 PostgresqlAccount to import * @param importFromId The id of the existing PostgresqlAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_account#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PostgresqlAccount 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/postgresql_account tencentcloud_postgresql_account} 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 PostgresqlAccountConfig */ constructor(scope: Construct, id: string, config: PostgresqlAccountConfig); 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 _lockStatus?; get lockStatus(): boolean | cdktf.IResolvable; set lockStatus(value: boolean | cdktf.IResolvable); resetLockStatus(): void; get lockStatusInput(): any; private _password?; get password(): string; set password(value: string); get passwordInput(): string; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _userName?; get userName(): string; set userName(value: string); get userNameInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }