Ruleset

class Ruleset : KotlinCustomResource

The Cloudflare Ruleset Engine (https://developers.cloudflare.com/ruleset-engine/about/) allows you to create and deploy rules and rulesets. Cloudflare uses the Ruleset Engine in different products, allowing you to configure several products using the same basic syntax.

Import

Import an account scoped Ruleset configuration.

$ pulumi import cloudflare:index/ruleset:Ruleset example account/<account_id>/<ruleset_id>

Import a zone scoped Ruleset configuration.

$ pulumi import cloudflare:index/ruleset:Ruleset example zone/<zone_id>/<ruleset_id>

Properties

Link copied to clipboard
val accountId: Output<String>?

The account identifier to target for the resource.

Link copied to clipboard
val description: Output<String>

Brief summary of the ruleset and its intended use.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

Type of Ruleset to create. Available values: custom, managed, root, zone.

Link copied to clipboard
val name: Output<String>

Name of the ruleset.

Link copied to clipboard
val phase: Output<String>

Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_config_settings, http_custom_errors, http_log_custom_fields, http_ratelimit, http_request_cache_settings, http_request_dynamic_redirect, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_origin, http_request_redirect, http_request_sanitize, http_request_transform, http_response_compression, http_response_firewall_managed, http_response_headers_transform, magic_transit.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rules: Output<List<RulesetRule>>?

List of rules to apply to the ruleset.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>?

The zone identifier to target for the resource.