Class RuleGroupRuleStatementRateBasedStatementArgs.Builder

    • Method Detail

      • aggregateKeyType

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder aggregateKeyType​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.String> aggregateKeyType)
        Parameters:
        aggregateKeyType - Setting that indicates how to aggregate the request counts. Valid values include: `CONSTANT`, `CUSTOM_KEYS`, `FORWARDED_IP` or `IP`. Default: `IP`.
        Returns:
        builder
      • aggregateKeyType

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder aggregateKeyType​(java.lang.String aggregateKeyType)
        Parameters:
        aggregateKeyType - Setting that indicates how to aggregate the request counts. Valid values include: `CONSTANT`, `CUSTOM_KEYS`, `FORWARDED_IP` or `IP`. Default: `IP`.
        Returns:
        builder
      • evaluationWindowSec

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder evaluationWindowSec​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.Integer> evaluationWindowSec)
        Parameters:
        evaluationWindowSec - Amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. Valid values are `60`, `120`, `300`, and `600`. Defaults to `300` (5 minutes). **NOTE:** This setting doesn't determine how often AWS WAF checks the rate, but how far back it looks each time it checks. AWS WAF checks the rate about every 10 seconds.
        Returns:
        builder
      • evaluationWindowSec

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder evaluationWindowSec​(java.lang.Integer evaluationWindowSec)
        Parameters:
        evaluationWindowSec - Amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. Valid values are `60`, `120`, `300`, and `600`. Defaults to `300` (5 minutes). **NOTE:** This setting doesn't determine how often AWS WAF checks the rate, but how far back it looks each time it checks. AWS WAF checks the rate about every 10 seconds.
        Returns:
        builder
      • limit

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder limit​(com.pulumi.core.Output<java.lang.Integer> limit)
        Parameters:
        limit - Limit on requests per 5-minute (or `evaluationWindowSec`) period for a single originating IP address (or for other aggregate key, depending on `aggregateKeyType` and `customKey`).
        Returns:
        builder
      • limit

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder limit​(java.lang.Integer limit)
        Parameters:
        limit - Limit on requests per 5-minute (or `evaluationWindowSec`) period for a single originating IP address (or for other aggregate key, depending on `aggregateKeyType` and `customKey`).
        Returns:
        builder
      • scopeDownStatement

        public RuleGroupRuleStatementRateBasedStatementArgs.Builder scopeDownStatement​(@Nullable
                                                                                       com.pulumi.core.Output<RuleGroupRuleStatementRateBasedStatementScopeDownStatementArgs> scopeDownStatement)
        Parameters:
        scopeDownStatement - Optional nested statement that narrows the scope of the rate-based statement to matching web requests. This can be any nestable statement, and you can nest statements at any level below this scope-down statement. See Statement above for details. If `aggregateKeyType` is set to `CONSTANT`, this block is required.
        Returns:
        builder