Bot Management Args
data class BotManagementArgs(val autoUpdateModel: Output<Boolean>? = null, val enableJs: Output<Boolean>? = null, val fightMode: Output<Boolean>? = null, val optimizeWordpress: Output<Boolean>? = null, val sbfmDefinitelyAutomated: Output<String>? = null, val sbfmLikelyAutomated: Output<String>? = null, val sbfmStaticResourceProtection: Output<Boolean>? = null, val sbfmVerifiedBots: Output<String>? = null, val suppressSessionScore: Output<Boolean>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<BotManagementArgs>
Provides a resource to configure Bot Management. Specifically, this resource can be used to manage:
Bot Fight Mode
Super Bot Fight Mode
Bot Management for Enterprise
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.BotManagement;
import com.pulumi.cloudflare.BotManagementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new BotManagement("example", BotManagementArgs.builder()
.enableJs(true)
.optimizeWordpress(true)
.sbfmDefinitelyAutomated("block")
.sbfmLikelyAutomated("managed_challenge")
.sbfmStaticResourceProtection(false)
.sbfmVerifiedBots("allow")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}
Content copied to clipboard
Import
$ pulumi import cloudflare:index/botManagement:BotManagement example <zone_id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun BotManagementArgs(autoUpdateModel: Output<Boolean>? = null, enableJs: Output<Boolean>? = null, fightMode: Output<Boolean>? = null, optimizeWordpress: Output<Boolean>? = null, sbfmDefinitelyAutomated: Output<String>? = null, sbfmLikelyAutomated: Output<String>? = null, sbfmStaticResourceProtection: Output<Boolean>? = null, sbfmVerifiedBots: Output<String>? = null, suppressSessionScore: Output<Boolean>? = null, zoneId: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
Link copied to clipboard
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.