import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WaapPolicyConfig extends cdktf.TerraformMetaArguments { /** * The WAAP domain ID for which the Policy is configured. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/waap_policy#domain_id WaapPolicy#domain_id} */ readonly domainId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/waap_policy#id WaapPolicy#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; /** * A map of policies where each key is a policy ID and the value is a boolean indicating whether the policy is enabled (true) or disabled (false). Policy IDs can be obtained from the API endpoint /v1/domains/{domain_id}/rule-sets (the 'rules' field) or you can use the gcore_waap_domain_policy data source. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/waap_policy#policies WaapPolicy#policies} */ readonly policies: { [key: string]: (boolean | cdktf.IResolvable); }; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/waap_policy gcore_waap_policy} */ export declare class WaapPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_waap_policy"; /** * Generates CDKTF code for importing a WaapPolicy 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 WaapPolicy to import * @param importFromId The id of the existing WaapPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/waap_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WaapPolicy 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/g-core/gcore/0.32.5/docs/resources/waap_policy gcore_waap_policy} 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 WaapPolicyConfig */ constructor(scope: Construct, id: string, config: WaapPolicyConfig); private _domainId?; get domainId(): string; set domainId(value: string); get domainIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _policies?; get policies(): { [key: string]: (boolean | cdktf.IResolvable); }; set policies(value: { [key: string]: (boolean | cdktf.IResolvable); }); get policiesInput(): { [key: string]: any; }; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }