import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EipAssociationConfig extends cdktf.TerraformMetaArguments { /** * The ID of EIP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#eip_id EipAssociation#eip_id} */ readonly eipId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#id EipAssociation#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 the target resource to associate with the Elastic IP (EIP). Supported targets include a CVM instance, SaaS WAF instance, CLB instance, or a VPC endpoint. * Limitation (GWLB VPC endpoint): Only an EIP in the bound state can be associated with a GWLB-type VPC endpoint through this field, enabling more advanced networking scenarios. * Mutual exclusivity: This field conflicts with `network_interface_id` and `private_ip`. Only one association target can be specified per request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#instance_id EipAssociation#instance_id} */ readonly instanceId?: string; /** * Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instance_id`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#network_interface_id EipAssociation#network_interface_id} */ readonly networkInterfaceId?: string; /** * Indicates an IP belongs to the `network_interface_id`. This field is conflict with `instance_id`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#private_ip EipAssociation#private_ip} */ readonly privateIp?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association tencentcloud_eip_association} */ export declare class EipAssociation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_eip_association"; /** * Generates CDKTF code for importing a EipAssociation 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 EipAssociation to import * @param importFromId The id of the existing EipAssociation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eip_association#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the EipAssociation 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/eip_association tencentcloud_eip_association} 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 EipAssociationConfig */ constructor(scope: Construct, id: string, config: EipAssociationConfig); get cdcId(): any; private _eipId?; get eipId(): string; set eipId(value: string); get eipIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); resetInstanceId(): void; get instanceIdInput(): string; private _networkInterfaceId?; get networkInterfaceId(): string; set networkInterfaceId(value: string); resetNetworkInterfaceId(): void; get networkInterfaceIdInput(): string; private _privateIp?; get privateIp(): string; set privateIp(value: string); resetPrivateIp(): void; get privateIpInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }