@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
141 lines (140 loc) • 5.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Edge Services WAF Stages.
*
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.EdgeServicesWafStage("main", {
* pipelineId: mainScalewayEdgeServicesPipeline.id,
* mode: "enable",
* paranoiaLevel: 3,
* });
* ```
*
* ## Import
*
* WAF stages can be imported using the `{id}`, e.g.
*
* bash
*
* ```sh
* $ pulumi import scaleway:index/edgeServicesWafStage:EdgeServicesWafStage basic 11111111-1111-1111-1111-111111111111
* ```
*/
export declare class EdgeServicesWafStage extends pulumi.CustomResource {
/**
* Get an existing EdgeServicesWafStage 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<pulumi.ID>, state?: EdgeServicesWafStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesWafStage;
/**
* Returns true if the given object is an instance of EdgeServicesWafStage. 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 EdgeServicesWafStage;
/**
* The ID of the backend stage to forward requests to after the WAF stage.
*/
readonly backendStageId: pulumi.Output<string>;
/**
* The date and time of the creation of the WAF stage.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The mode defining WAF behavior (`disable`/`logOnly`/`enable`).
*/
readonly mode: pulumi.Output<string>;
/**
* The sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
*/
readonly paranoiaLevel: pulumi.Output<number>;
/**
* The ID of the pipeline.
*/
readonly pipelineId: pulumi.Output<string>;
/**
* `projectId`) The ID of the project the WAF stage is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* The date and time of the last update of the WAF stage.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a EdgeServicesWafStage 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: EdgeServicesWafStageArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EdgeServicesWafStage resources.
*/
export interface EdgeServicesWafStageState {
/**
* The ID of the backend stage to forward requests to after the WAF stage.
*/
backendStageId?: pulumi.Input<string>;
/**
* The date and time of the creation of the WAF stage.
*/
createdAt?: pulumi.Input<string>;
/**
* The mode defining WAF behavior (`disable`/`logOnly`/`enable`).
*/
mode?: pulumi.Input<string>;
/**
* The sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
*/
paranoiaLevel?: pulumi.Input<number>;
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the WAF stage is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* The date and time of the last update of the WAF stage.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a EdgeServicesWafStage resource.
*/
export interface EdgeServicesWafStageArgs {
/**
* The ID of the backend stage to forward requests to after the WAF stage.
*/
backendStageId?: pulumi.Input<string>;
/**
* The mode defining WAF behavior (`disable`/`logOnly`/`enable`).
*/
mode?: pulumi.Input<string>;
/**
* The sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
*/
paranoiaLevel: pulumi.Input<number>;
/**
* The ID of the pipeline.
*/
pipelineId: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the WAF stage is associated with.
*/
projectId?: pulumi.Input<string>;
}