import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WafAntiInfoLeakConfig extends cdktf.TerraformMetaArguments { /** * Rule Action, 0 (log), 1 (replace), 2 (only display the first four digits), 3 (only display the last four digits), 4 (deny). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#action_type WafAntiInfoLeak#action_type} */ readonly actionType: number; /** * Domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#domain WafAntiInfoLeak#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#id WafAntiInfoLeak#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; /** * Rule Name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#name WafAntiInfoLeak#name} */ readonly name: string; /** * status. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#status WafAntiInfoLeak#status} */ readonly status?: number; /** * Uri. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#uri WafAntiInfoLeak#uri} */ readonly uri: string; /** * strategies block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#strategies WafAntiInfoLeak#strategies} */ readonly strategies: WafAntiInfoLeakStrategies[] | cdktf.IResolvable; } export interface WafAntiInfoLeakStrategies { /** * Matching content * The following options are available when Field is set to information: * idcard (ID card), phone (phone number), and bankcard (bank card). * The following options are available when Field is set to returncode: * 400 (status code 400), 403 (status code 403), 404 (status code 404), 4xx (other 4xx status codes), 500 (status code 500), 501 (status code 501), 502 (status code 502), 504 (status code 504), and 5xx (other 5xx status codes). * When Field is set to keywords, users need to input the matching content themselves. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#content WafAntiInfoLeak#content} */ readonly content: string; /** * Matching Criteria, returncode (Response Code), keywords (Keywords), information (Sensitive Information). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#field WafAntiInfoLeak#field} */ readonly field: string; } export declare function wafAntiInfoLeakStrategiesToTerraform(struct?: WafAntiInfoLeakStrategies | cdktf.IResolvable): any; export declare function wafAntiInfoLeakStrategiesToHclTerraform(struct?: WafAntiInfoLeakStrategies | cdktf.IResolvable): any; export declare class WafAntiInfoLeakStrategiesOutputReference 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(): WafAntiInfoLeakStrategies | cdktf.IResolvable | undefined; set internalValue(value: WafAntiInfoLeakStrategies | cdktf.IResolvable | undefined); private _content?; get content(): string; set content(value: string); get contentInput(): string; private _field?; get field(): string; set field(value: string); get fieldInput(): string; } export declare class WafAntiInfoLeakStrategiesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: WafAntiInfoLeakStrategies[] | 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): WafAntiInfoLeakStrategiesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak tencentcloud_waf_anti_info_leak} */ export declare class WafAntiInfoLeak extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_waf_anti_info_leak"; /** * Generates CDKTF code for importing a WafAntiInfoLeak 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 WafAntiInfoLeak to import * @param importFromId The id of the existing WafAntiInfoLeak that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_anti_info_leak#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WafAntiInfoLeak 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_anti_info_leak tencentcloud_waf_anti_info_leak} 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 WafAntiInfoLeakConfig */ constructor(scope: Construct, id: string, config: WafAntiInfoLeakConfig); private _actionType?; get actionType(): number; set actionType(value: number); get actionTypeInput(): 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 _name?; get name(): string; set name(value: string); get nameInput(): string; private _status?; get status(): number; set status(value: number); resetStatus(): void; get statusInput(): number; private _uri?; get uri(): string; set uri(value: string); get uriInput(): string; private _strategies; get strategies(): WafAntiInfoLeakStrategiesList; putStrategies(value: WafAntiInfoLeakStrategies[] | cdktf.IResolvable): void; get strategiesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }