Class RulesetRuleRatelimitArgs


  • public final class RulesetRuleRatelimitArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • characteristics

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> characteristics()
        Returns:
        List of parameters that define how Cloudflare tracks the request rate for this rule.
      • countingExpression

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> countingExpression()
        Returns:
        Criteria for counting HTTP requests to trigger the Rate Limiting action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
      • mitigationTimeout

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> mitigationTimeout()
        Returns:
        Once the request rate is reached, the Rate Limiting rule blocks further requests for the period of time defined in this field.
      • period

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> period()
        Returns:
        The period of time to consider (in seconds) when evaluating the request rate.
      • requestsPerPeriod

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> requestsPerPeriod()
        Returns:
        The number of requests over the period of time that will trigger the Rate Limiting rule.
      • requestsToOrigin

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> requestsToOrigin()
        Returns:
        Whether to include requests to origin within the Rate Limiting count.
      • scorePerPeriod

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> scorePerPeriod()
        Returns:
        The maximum aggregate score over the period of time that will trigger Rate Limiting rule.
      • scoreResponseHeaderName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> scoreResponseHeaderName()
        Returns:
        Name of HTTP header in the response, set by the origin server, with the score for the current request.