import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WafAttackWhiteRuleConfig extends cdktf.TerraformMetaArguments { /** * Domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#domain WafAttackWhiteRule#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#id WafAttackWhiteRule#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; /** * 0: Whiten according to a specific rule ID, 1: Whiten according to the rule type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#mode WafAttackWhiteRule#mode} */ readonly mode?: number; /** * Rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#name WafAttackWhiteRule#name} */ readonly name?: string; /** * Whitelist of rule IDs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#signature_ids WafAttackWhiteRule#signature_ids} */ readonly signatureIds?: string[]; /** * Rule status. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#status WafAttackWhiteRule#status} */ readonly status: number; /** * The whitened category rule ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#type_ids WafAttackWhiteRule#type_ids} */ readonly typeIds?: string[]; /** * rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#rules WafAttackWhiteRule#rules} */ readonly rules: WafAttackWhiteRuleRules[] | cdktf.IResolvable; } export interface WafAttackWhiteRuleRules { /** * Matching content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#match_content WafAttackWhiteRule#match_content} */ readonly matchContent: string; /** * Matching domains. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#match_field WafAttackWhiteRule#match_field} */ readonly matchField: string; /** * Matching method. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#match_method WafAttackWhiteRule#match_method} */ readonly matchMethod: string; /** * Matching params. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#match_params WafAttackWhiteRule#match_params} */ readonly matchParams?: string; } export declare function wafAttackWhiteRuleRulesToTerraform(struct?: WafAttackWhiteRuleRules | cdktf.IResolvable): any; export declare function wafAttackWhiteRuleRulesToHclTerraform(struct?: WafAttackWhiteRuleRules | cdktf.IResolvable): any; export declare class WafAttackWhiteRuleRulesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): WafAttackWhiteRuleRules | cdktf.IResolvable | undefined; set internalValue(value: WafAttackWhiteRuleRules | cdktf.IResolvable | undefined); private _matchContent?; get matchContent(): string; set matchContent(value: string); get matchContentInput(): string; private _matchField?; get matchField(): string; set matchField(value: string); get matchFieldInput(): string; private _matchMethod?; get matchMethod(): string; set matchMethod(value: string); get matchMethodInput(): string; private _matchParams?; get matchParams(): string; set matchParams(value: string); resetMatchParams(): void; get matchParamsInput(): string; } export declare class WafAttackWhiteRuleRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: WafAttackWhiteRuleRules[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): WafAttackWhiteRuleRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule tencentcloud_waf_attack_white_rule} */ export declare class WafAttackWhiteRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_waf_attack_white_rule"; /** * Generates CDKTF code for importing a WafAttackWhiteRule 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 WafAttackWhiteRule to import * @param importFromId The id of the existing WafAttackWhiteRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_attack_white_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WafAttackWhiteRule 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_attack_white_rule tencentcloud_waf_attack_white_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 WafAttackWhiteRuleConfig */ constructor(scope: Construct, id: string, config: WafAttackWhiteRuleConfig); 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 _mode?; get mode(): number; set mode(value: number); resetMode(): void; get modeInput(): number; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; get ruleId(): any; private _signatureIds?; get signatureIds(): string[]; set signatureIds(value: string[]); resetSignatureIds(): void; get signatureIdsInput(): string[]; private _status?; get status(): number; set status(value: number); get statusInput(): number; private _typeIds?; get typeIds(): string[]; set typeIds(value: string[]); resetTypeIds(): void; get typeIdsInput(): string[]; private _rules; get rules(): WafAttackWhiteRuleRulesList; putRules(value: WafAttackWhiteRuleRules[] | cdktf.IResolvable): void; get rulesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }