import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface FirewallRuleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#firewall_group_id FirewallRule#firewall_group_id} */ readonly firewallGroupId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#id FirewallRule#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#ip_type FirewallRule#ip_type} */ readonly ipType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#notes FirewallRule#notes} */ readonly notes?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#port FirewallRule#port} */ readonly port?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#protocol FirewallRule#protocol} */ readonly protocol: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#source FirewallRule#source} */ readonly source?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#subnet FirewallRule#subnet} */ readonly subnet: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#subnet_size FirewallRule#subnet_size} */ readonly subnetSize: number; } /** * Represents a {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule vultr_firewall_rule} */ export declare class FirewallRule extends cdktf.TerraformResource { static readonly tfResourceType = "vultr_firewall_rule"; /** * Generates CDKTF code for importing a FirewallRule 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 FirewallRule to import * @param importFromId The id of the existing FirewallRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/resources/firewall_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the FirewallRule 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/vultr/vultr/2.28.0/docs/resources/firewall_rule vultr_firewall_rule} 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 FirewallRuleConfig */ constructor(scope: Construct, id: string, config: FirewallRuleConfig); private _firewallGroupId?; get firewallGroupId(): string; set firewallGroupId(value: string); get firewallGroupIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipType?; get ipType(): string; set ipType(value: string); get ipTypeInput(): string; private _notes?; get notes(): string; set notes(value: string); resetNotes(): void; get notesInput(): string; private _port?; get port(): string; set port(value: string); resetPort(): void; get portInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string; private _source?; get source(): string; set source(value: string); resetSource(): void; get sourceInput(): string; private _subnet?; get subnet(): string; set subnet(value: string); get subnetInput(): string; private _subnetSize?; get subnetSize(): number; set subnetSize(value: number); get subnetSizeInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }