import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CfwEdgeFirewallSwitchConfig extends cdktf.TerraformMetaArguments { /** * Switch, 0: off, 1: on. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#enable CfwEdgeFirewallSwitch#enable} */ readonly enable: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#id CfwEdgeFirewallSwitch#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; /** * Public Ip. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#public_ip CfwEdgeFirewallSwitch#public_ip} */ readonly publicIp: string; /** * The first EIP switch in the vpc is turned on, and you need to specify a subnet to create a private connection. If `switch_mode` is 1 and `enable` is 1, this field is required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#subnet_id CfwEdgeFirewallSwitch#subnet_id} */ readonly subnetId?: string; /** * 0: bypass; 1: serial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#switch_mode CfwEdgeFirewallSwitch#switch_mode} */ readonly switchMode: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch tencentcloud_cfw_edge_firewall_switch} */ export declare class CfwEdgeFirewallSwitch extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cfw_edge_firewall_switch"; /** * Generates CDKTF code for importing a CfwEdgeFirewallSwitch 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 CfwEdgeFirewallSwitch to import * @param importFromId The id of the existing CfwEdgeFirewallSwitch that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfw_edge_firewall_switch#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CfwEdgeFirewallSwitch 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/cfw_edge_firewall_switch tencentcloud_cfw_edge_firewall_switch} 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 CfwEdgeFirewallSwitchConfig */ constructor(scope: Construct, id: string, config: CfwEdgeFirewallSwitchConfig); private _enable?; get enable(): number; set enable(value: number); get enableInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _publicIp?; get publicIp(): string; set publicIp(value: string); get publicIpInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _switchMode?; get switchMode(): number; set switchMode(value: number); get switchModeInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }