import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WafAutoDenyRulesConfig extends cdktf.TerraformMetaArguments { /** * The threshold number of attacks that triggers IP autodeny, ranging from 2 to 100 times. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#attack_threshold WafAutoDenyRules#attack_threshold} */ readonly attackThreshold: number; /** * The IP autodeny time after triggering the IP autodeny, ranging from 5 to 360 minutes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#deny_time_threshold WafAutoDenyRules#deny_time_threshold} */ readonly denyTimeThreshold: number; /** * Domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#domain WafAutoDenyRules#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#id WafAutoDenyRules#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; /** * IP autodeny statistical time, ranging from 1-60 minutes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#time_threshold WafAutoDenyRules#time_threshold} */ readonly timeThreshold: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules tencentcloud_waf_auto_deny_rules} */ export declare class WafAutoDenyRules extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_waf_auto_deny_rules"; /** * Generates CDKTF code for importing a WafAutoDenyRules 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 WafAutoDenyRules to import * @param importFromId The id of the existing WafAutoDenyRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_auto_deny_rules#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WafAutoDenyRules 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/waf_auto_deny_rules tencentcloud_waf_auto_deny_rules} 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 WafAutoDenyRulesConfig */ constructor(scope: Construct, id: string, config: WafAutoDenyRulesConfig); private _attackThreshold?; get attackThreshold(): number; set attackThreshold(value: number); get attackThresholdInput(): number; private _denyTimeThreshold?; get denyTimeThreshold(): number; set denyTimeThreshold(value: number); get denyTimeThresholdInput(): number; private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _timeThreshold?; get timeThreshold(): number; set timeThreshold(value: number); get timeThresholdInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }