import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WafIpAccessControlConfig extends cdktf.TerraformMetaArguments { /** * Domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#domain WafIpAccessControl#domain} */ readonly domain: string; /** * Waf edition. clb-waf means clb-waf, sparta-waf means saas-waf. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#edition WafIpAccessControl#edition} */ readonly edition: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#id WafIpAccessControl#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; /** * Waf instance Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#instance_id WafIpAccessControl#instance_id} */ readonly instanceId: string; /** * items block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#items WafIpAccessControl#items} */ readonly items: WafIpAccessControlItems[] | cdktf.IResolvable; } export interface WafIpAccessControlItems { /** * Action value 40 is whitelist, 42 is blacklist. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#action WafIpAccessControl#action} */ readonly action: number; /** * IP address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#ip WafIpAccessControl#ip} */ readonly ip: string; /** * Note info. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#note WafIpAccessControl#note} */ readonly note: string; /** * Effective date, with a second level timestamp value. For example, 1680570420 represents 2023-04-04 09:07:00; 2019571199 means permanently effective. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#valid_ts WafIpAccessControl#valid_ts} */ readonly validTs: number; } export declare function wafIpAccessControlItemsToTerraform(struct?: WafIpAccessControlItems | cdktf.IResolvable): any; export declare function wafIpAccessControlItemsToHclTerraform(struct?: WafIpAccessControlItems | cdktf.IResolvable): any; export declare class WafIpAccessControlItemsOutputReference 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(): WafIpAccessControlItems | cdktf.IResolvable | undefined; set internalValue(value: WafIpAccessControlItems | cdktf.IResolvable | undefined); private _action?; get action(): number; set action(value: number); get actionInput(): number; get id(): any; private _ip?; get ip(): string; set ip(value: string); get ipInput(): string; private _note?; get note(): string; set note(value: string); get noteInput(): string; get source(): any; get validStatus(): any; private _validTs?; get validTs(): number; set validTs(value: number); get validTsInput(): number; } export declare class WafIpAccessControlItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: WafIpAccessControlItems[] | 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): WafIpAccessControlItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control tencentcloud_waf_ip_access_control} */ export declare class WafIpAccessControl extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_waf_ip_access_control"; /** * Generates CDKTF code for importing a WafIpAccessControl 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 WafIpAccessControl to import * @param importFromId The id of the existing WafIpAccessControl that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_ip_access_control#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WafIpAccessControl 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_ip_access_control tencentcloud_waf_ip_access_control} 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 WafIpAccessControlConfig */ constructor(scope: Construct, id: string, config: WafIpAccessControlConfig); private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _edition?; get edition(): string; set edition(value: string); get editionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _items; get items(): WafIpAccessControlItemsList; putItems(value: WafIpAccessControlItems[] | cdktf.IResolvable): void; get itemsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }