import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface GaapSecurityRuleConfig extends cdktf.TerraformMetaArguments { /** * Policy of the rule. Valid value: `ACCEPT` and `DROP`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#action GaapSecurityRule#action} */ readonly action: string; /** * A network address block of the request source. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#cidr_ip GaapSecurityRule#cidr_ip} */ readonly cidrIp: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#id GaapSecurityRule#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; /** * Name of the security policy rule. Maximum length is 30. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#name GaapSecurityRule#name} */ readonly name?: string; /** * ID of the security policy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#policy_id GaapSecurityRule#policy_id} */ readonly policyId: string; /** * Target port. Default value is `ALL`. Valid examples: `80`, `80,443` and `3306-20000`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#port GaapSecurityRule#port} */ readonly port?: string; /** * Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#protocol GaapSecurityRule#protocol} */ readonly protocol?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule tencentcloud_gaap_security_rule} */ export declare class GaapSecurityRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_gaap_security_rule"; /** * Generates CDKTF code for importing a GaapSecurityRule 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 GaapSecurityRule to import * @param importFromId The id of the existing GaapSecurityRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/gaap_security_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the GaapSecurityRule 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/gaap_security_rule tencentcloud_gaap_security_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 GaapSecurityRuleConfig */ constructor(scope: Construct, id: string, config: GaapSecurityRuleConfig); private _action?; get action(): string; set action(value: string); get actionInput(): string; private _cidrIp?; get cidrIp(): string; set cidrIp(value: string); get cidrIpInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _policyId?; get policyId(): string; set policyId(value: string); get policyIdInput(): string; private _port?; get port(): string; set port(value: string); resetPort(): void; get portInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }