import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DnatConfig extends cdktf.TerraformMetaArguments { /** * Description of the NAT forward. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#description Dnat#description} */ readonly description?: string; /** * Network address of the EIP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#elastic_ip Dnat#elastic_ip} */ readonly elasticIp: string; /** * Port of the EIP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#elastic_port Dnat#elastic_port} */ readonly elasticPort: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#id Dnat#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; /** * ID of the NAT gateway. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#nat_id Dnat#nat_id} */ readonly natId: string; /** * Network address of the backend service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#private_ip Dnat#private_ip} */ readonly privateIp: string; /** * Port of intranet. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#private_port Dnat#private_port} */ readonly privatePort: string; /** * Type of the network protocol. Valid value: `TCP` and `UDP`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#protocol Dnat#protocol} */ readonly protocol: string; /** * ID of the VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#vpc_id Dnat#vpc_id} */ readonly vpcId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat tencentcloud_dnat} */ export declare class Dnat extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dnat"; /** * Generates CDKTF code for importing a Dnat 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 Dnat to import * @param importFromId The id of the existing Dnat that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnat#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Dnat 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/dnat tencentcloud_dnat} 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 DnatConfig */ constructor(scope: Construct, id: string, config: DnatConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _elasticIp?; get elasticIp(): string; set elasticIp(value: string); get elasticIpInput(): string; private _elasticPort?; get elasticPort(): string; set elasticPort(value: string); get elasticPortInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _natId?; get natId(): string; set natId(value: string); get natIdInput(): string; private _privateIp?; get privateIp(): string; set privateIp(value: string); get privateIpInput(): string; private _privatePort?; get privatePort(): string; set privatePort(value: string); get privatePortInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }