import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisConnectionConfigConfig extends cdktf.TerraformMetaArguments { /** * Refers to the additional bandwidth of the instance. When the standard bandwidth does not meet the demand, the user can increase the bandwidth by himself. When the read-only copy is enabled, the total bandwidth of the instance = additional bandwidth * number of fragments + standard bandwidth * number of fragments * Max ([number of read-only replicas, 1] ), the number of shards in the standard architecture = 1, and when read-only replicas are not enabled, the total bandwidth of the instance = additional bandwidth * number of shards + standard bandwidth * number of shards, and the number of shards in the standard architecture = 1. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_connection_config#add_bandwidth RedisConnectionConfig#add_bandwidth} */ readonly addBandwidth?: number; /** * The total number of connections per shard.If read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.When you enable read-only replicas, the minimum limit is 10,000 and the upper limit is 10,000 * (the number of read replicas +3). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_connection_config#client_limit RedisConnectionConfig#client_limit} */ readonly clientLimit?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_connection_config#id RedisConnectionConfig#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_connection_config#instance_id RedisConnectionConfig#instance_id} */ readonly instanceId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_connection_config tencentcloud_redis_connection_config} */ export declare class RedisConnectionConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_connection_config"; /** * Generates CDKTF code for importing a RedisConnectionConfig 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 RedisConnectionConfig to import * @param importFromId The id of the existing RedisConnectionConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_connection_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisConnectionConfig 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_connection_config tencentcloud_redis_connection_config} 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 RedisConnectionConfigConfig */ constructor(scope: Construct, id: string, config: RedisConnectionConfigConfig); private _addBandwidth?; get addBandwidth(): number; set addBandwidth(value: number); resetAddBandwidth(): void; get addBandwidthInput(): number; get baseBandwidth(): any; private _clientLimit?; get clientLimit(): number; set clientLimit(value: number); resetClientLimit(): void; get clientLimitInput(): number; 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; get maxAddBandwidth(): any; get minAddBandwidth(): any; get totalBandwidth(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }