import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisAccountConfig extends cdktf.TerraformMetaArguments { /** * The account name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#account_name RedisAccount#account_name} */ readonly accountName: string; /** * 1: Length 8-30 digits, it is recommended to use a password of more than 12 digits; 2: Cannot start with `/`; 3: Include at least two items: a.Lowercase letters `a-z`; b.Uppercase letters `A-Z` c.Numbers `0-9`; d.`()`~!@#$%^&*-+=_|{}[]:;<>,.?/`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#account_password RedisAccount#account_password} */ readonly accountPassword: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#id RedisAccount#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/redis_account#instance_id RedisAccount#instance_id} */ readonly instanceId: string; /** * Read and write policy: Enter R and RW to indicate read-only, read-write, cannot be empty when modifying operations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#privilege RedisAccount#privilege} */ readonly privilege: string; /** * Routing policy: Enter master or replication, which indicates the master node or slave node, cannot be empty when modifying operations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#readonly_policy RedisAccount#readonly_policy} */ readonly readonlyPolicy: string[]; /** * Remark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#remark RedisAccount#remark} */ readonly remark?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account tencentcloud_redis_account} */ export declare class RedisAccount extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_account"; /** * Generates CDKTF code for importing a RedisAccount 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 RedisAccount to import * @param importFromId The id of the existing RedisAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_account#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisAccount 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/redis_account tencentcloud_redis_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 RedisAccountConfig */ constructor(scope: Construct, id: string, config: RedisAccountConfig); private _accountName?; get accountName(): string; set accountName(value: string); get accountNameInput(): string; private _accountPassword?; get accountPassword(): string; set accountPassword(value: string); get accountPasswordInput(): string; 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 _privilege?; get privilege(): string; set privilege(value: string); get privilegeInput(): string; private _readonlyPolicy?; get readonlyPolicy(): string[]; set readonlyPolicy(value: string[]); get readonlyPolicyInput(): string[]; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }