import * as pulumi from "@pulumi/pulumi"; /** * Provides a Cloudflare WAF rule group resource for a particular zone. This can be used to configure firewall behaviour for pre-defined firewall groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const honeyPot = new cloudflare.WafGroup("honey_pot", { * groupId: "de677e5818985db1285d0e80225f06e5", * mode: "on", * zoneId: "ae36f999674d196762efcc5abb06b345", * }); * ``` * * ## Import * * WAF Rule Groups can be imported using a composite ID formed of zone ID and the WAF Rule Group ID, e.g. * * ```sh * $ pulumi import cloudflare:index/wafGroup:WafGroup honey_pot ae36f999674d196762efcc5abb06b345/de677e5818985db1285d0e80225f06e5 * ``` */ export declare class WafGroup extends pulumi.CustomResource { /** * Get an existing WafGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WafGroupState, opts?: pulumi.CustomResourceOptions): WafGroup; /** * Returns true if the given object is an instance of WafGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WafGroup; /** * The WAF Rule Group ID. */ readonly groupId: pulumi.Output; /** * The mode of the group, can be one of ["on", "off"]. */ readonly mode: pulumi.Output; /** * The ID of the WAF Rule Package that contains the group. */ readonly packageId: pulumi.Output; /** * The DNS zone ID to apply to. */ readonly zoneId: pulumi.Output; /** * Create a WafGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WafGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WafGroup resources. */ export interface WafGroupState { /** * The WAF Rule Group ID. */ groupId?: pulumi.Input; /** * The mode of the group, can be one of ["on", "off"]. */ mode?: pulumi.Input; /** * The ID of the WAF Rule Package that contains the group. */ packageId?: pulumi.Input; /** * The DNS zone ID to apply to. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a WafGroup resource. */ export interface WafGroupArgs { /** * The WAF Rule Group ID. */ groupId: pulumi.Input; /** * The mode of the group, can be one of ["on", "off"]. */ mode?: pulumi.Input; /** * The ID of the WAF Rule Package that contains the group. */ packageId?: pulumi.Input; /** * The DNS zone ID to apply to. */ zoneId: pulumi.Input; }