import * as pulumi from "@pulumi/pulumi"; /** * Provides a Cloudflare WAF rule package resource for a particular zone. This can be used to configure firewall behaviour for pre-defined firewall packages. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const owasp = new cloudflare.WafPackage("owasp", { * actionMode: "simulate", * packageId: "a25a9a7e9c00afc1fb2e0245519d725b", * sensitivity: "medium", * zoneId: "ae36f999674d196762efcc5abb06b345", * }); * ``` * * ## Import * * Packages can be imported using a composite ID formed of zone ID and the WAF Package ID, e.g. * * ```sh * $ pulumi import cloudflare:index/wafPackage:WafPackage owasp ae36f999674d196762efcc5abb06b345/a25a9a7e9c00afc1fb2e0245519d725b * ``` */ export declare class WafPackage extends pulumi.CustomResource { /** * Get an existing WafPackage 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?: WafPackageState, opts?: pulumi.CustomResourceOptions): WafPackage; /** * Returns true if the given object is an instance of WafPackage. 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 WafPackage; /** * The action mode of the package, can be one of ["block", "challenge", "simulate"]. */ readonly actionMode: pulumi.Output; /** * The WAF Package ID. */ readonly packageId: pulumi.Output; /** * The sensitivity of the package, can be one of ["high", "medium", "low", "off"]. */ readonly sensitivity: pulumi.Output; /** * The DNS zone ID to apply to. */ readonly zoneId: pulumi.Output; /** * Create a WafPackage 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: WafPackageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WafPackage resources. */ export interface WafPackageState { /** * The action mode of the package, can be one of ["block", "challenge", "simulate"]. */ actionMode?: pulumi.Input; /** * The WAF Package ID. */ packageId?: pulumi.Input; /** * The sensitivity of the package, can be one of ["high", "medium", "low", "off"]. */ sensitivity?: pulumi.Input; /** * The DNS zone ID to apply to. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a WafPackage resource. */ export interface WafPackageArgs { /** * The action mode of the package, can be one of ["block", "challenge", "simulate"]. */ actionMode?: pulumi.Input; /** * The WAF Package ID. */ packageId: pulumi.Input; /** * The sensitivity of the package, can be one of ["high", "medium", "low", "off"]. */ sensitivity?: pulumi.Input; /** * The DNS zone ID to apply to. */ zoneId: pulumi.Input; }