import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SecurityGroupLiteRuleConfig extends cdktf.TerraformMetaArguments { /** * Egress rules set. A rule must match the following format: [action]#[source]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'source' can be an IP address network, segment, security group ID and Address Template ID. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP`, `ALL` and `ppm(g?)-xxxxxxxx`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule#egress SecurityGroupLiteRule#egress} */ readonly egress?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule#id SecurityGroupLiteRule#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; /** * Ingress rules set. A rule must match the following format: [action]#[source]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'source' can be an IP address network, segment, security group ID and Address Template ID. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP`, `ALL` and `ppm(g?)-xxxxxxxx`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule#ingress SecurityGroupLiteRule#ingress} */ readonly ingress?: string[]; /** * ID of the security group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule#security_group_id SecurityGroupLiteRule#security_group_id} */ readonly securityGroupId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule tencentcloud_security_group_lite_rule} */ export declare class SecurityGroupLiteRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_security_group_lite_rule"; /** * Generates CDKTF code for importing a SecurityGroupLiteRule 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 SecurityGroupLiteRule to import * @param importFromId The id of the existing SecurityGroupLiteRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/security_group_lite_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SecurityGroupLiteRule 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/security_group_lite_rule tencentcloud_security_group_lite_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 SecurityGroupLiteRuleConfig */ constructor(scope: Construct, id: string, config: SecurityGroupLiteRuleConfig); private _egress?; get egress(): string[]; set egress(value: string[]); resetEgress(): void; get egressInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ingress?; get ingress(): string[]; set ingress(value: string[]); resetIngress(): void; get ingressInput(): string[]; private _securityGroupId?; get securityGroupId(): string; set securityGroupId(value: string); get securityGroupIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }