import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisReplicaReadonlyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_replica_readonly#id RedisReplicaReadonly#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_replica_readonly#instance_id RedisReplicaReadonly#instance_id} */ readonly instanceId: string; /** * The replica is read-only, `enable` - enable read-write splitting, `disable`- disable read-write splitting. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_replica_readonly#operate RedisReplicaReadonly#operate} */ readonly operate: string; /** * Routing policy: Enter `master` or `replication`, which indicates the master node or slave node. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_replica_readonly#readonly_policy RedisReplicaReadonly#readonly_policy} */ readonly readonlyPolicy?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_replica_readonly tencentcloud_redis_replica_readonly} */ export declare class RedisReplicaReadonly extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_replica_readonly"; /** * Generates CDKTF code for importing a RedisReplicaReadonly 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 RedisReplicaReadonly to import * @param importFromId The id of the existing RedisReplicaReadonly that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_replica_readonly#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisReplicaReadonly 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_replica_readonly tencentcloud_redis_replica_readonly} 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 RedisReplicaReadonlyConfig */ constructor(scope: Construct, id: string, config: RedisReplicaReadonlyConfig); 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 _operate?; get operate(): string; set operate(value: string); get operateInput(): string; private _readonlyPolicy?; get readonlyPolicy(): string[]; set readonlyPolicy(value: string[]); resetReadonlyPolicy(): void; get readonlyPolicyInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }