import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PortSecurityConfig extends cdktf.TerraformMetaArguments { /** * Enable port security for the port. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#enable_port_security PortSecurity#enable_port_security} */ readonly enablePortSecurity?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#id PortSecurity#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 port where allowed address pairs will be managed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#port_id PortSecurity#port_id} */ readonly portId: string; /** * Project ID in which the port exists. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#project_id PortSecurity#project_id} */ readonly projectId?: number; /** * Project name in which the port exists. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#project_name PortSecurity#project_name} */ readonly projectName?: string; /** * Region ID where the port is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#region_id PortSecurity#region_id} */ readonly regionId?: number; /** * Region name where the port is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#region_name PortSecurity#region_name} */ readonly regionName?: string; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security gcore_port_security} */ export declare class PortSecurity extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_port_security"; /** * Generates CDKTF code for importing a PortSecurity 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 PortSecurity to import * @param importFromId The id of the existing PortSecurity that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/port_security#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PortSecurity 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/g-core/gcore/0.32.5/docs/resources/port_security gcore_port_security} 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 PortSecurityConfig */ constructor(scope: Construct, id: string, config: PortSecurityConfig); private _enablePortSecurity?; get enablePortSecurity(): boolean | cdktf.IResolvable; set enablePortSecurity(value: boolean | cdktf.IResolvable); resetEnablePortSecurity(): void; get enablePortSecurityInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _portId?; get portId(): string; set portId(value: string); get portIdInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }