import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClbTargetGroupConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#id ClbTargetGroup#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 default port of target group, add server after can use it. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#port ClbTargetGroup#port} */ readonly port?: number; /** * Target group name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#target_group_name ClbTargetGroup#target_group_name} */ readonly targetGroupName?: string; /** * VPC ID, default is based on the network. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#vpc_id ClbTargetGroup#vpc_id} */ readonly vpcId?: string; /** * target_group_instances block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#target_group_instances ClbTargetGroup#target_group_instances} */ readonly targetGroupInstances?: ClbTargetGroupTargetGroupInstances[] | cdktf.IResolvable; } export interface ClbTargetGroupTargetGroupInstances { /** * The internal ip of target group instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#bind_ip ClbTargetGroup#bind_ip} */ readonly bindIp: string; /** * The new port of target group instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#new_port ClbTargetGroup#new_port} */ readonly newPort?: number; /** * The port of target group instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#port ClbTargetGroup#port} */ readonly port: number; /** * The weight of target group instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#weight ClbTargetGroup#weight} */ readonly weight?: number; } export declare function clbTargetGroupTargetGroupInstancesToTerraform(struct?: ClbTargetGroupTargetGroupInstances | cdktf.IResolvable): any; export declare function clbTargetGroupTargetGroupInstancesToHclTerraform(struct?: ClbTargetGroupTargetGroupInstances | cdktf.IResolvable): any; export declare class ClbTargetGroupTargetGroupInstancesOutputReference 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(): ClbTargetGroupTargetGroupInstances | cdktf.IResolvable | undefined; set internalValue(value: ClbTargetGroupTargetGroupInstances | cdktf.IResolvable | undefined); private _bindIp?; get bindIp(): string; set bindIp(value: string); get bindIpInput(): string; private _newPort?; get newPort(): number; set newPort(value: number); resetNewPort(): void; get newPortInput(): number; private _port?; get port(): number; set port(value: number); get portInput(): number; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; } export declare class ClbTargetGroupTargetGroupInstancesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClbTargetGroupTargetGroupInstances[] | 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): ClbTargetGroupTargetGroupInstancesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group tencentcloud_clb_target_group} */ export declare class ClbTargetGroup extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_clb_target_group"; /** * Generates CDKTF code for importing a ClbTargetGroup 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 ClbTargetGroup to import * @param importFromId The id of the existing ClbTargetGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_target_group#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClbTargetGroup 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/clb_target_group tencentcloud_clb_target_group} 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 ClbTargetGroupConfig = {} */ constructor(scope: Construct, id: string, config?: ClbTargetGroupConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _targetGroupName?; get targetGroupName(): string; set targetGroupName(value: string); resetTargetGroupName(): void; get targetGroupNameInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; private _targetGroupInstances; get targetGroupInstances(): ClbTargetGroupTargetGroupInstancesList; putTargetGroupInstances(value: ClbTargetGroupTargetGroupInstances[] | cdktf.IResolvable): void; resetTargetGroupInstances(): void; get targetGroupInstancesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }