Package com.pulumi.aws.wafv2.outputs
Class RuleGroupRuleStatementRateBasedStatement
- java.lang.Object
-
- com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatement
-
public final class RuleGroupRuleStatementRateBasedStatement extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuleGroupRuleStatementRateBasedStatement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
aggregateKeyType()
static RuleGroupRuleStatementRateBasedStatement.Builder
builder()
static RuleGroupRuleStatementRateBasedStatement.Builder
builder(RuleGroupRuleStatementRateBasedStatement defaults)
java.util.List<RuleGroupRuleStatementRateBasedStatementCustomKey>
customKeys()
java.util.Optional<java.lang.Integer>
evaluationWindowSec()
java.util.Optional<RuleGroupRuleStatementRateBasedStatementForwardedIpConfig>
forwardedIpConfig()
java.lang.Integer
limit()
java.util.Optional<RuleGroupRuleStatementRateBasedStatementScopeDownStatement>
scopeDownStatement()
-
-
-
Method Detail
-
aggregateKeyType
public java.util.Optional<java.lang.String> aggregateKeyType()
- Returns:
- Setting that indicates how to aggregate the request counts. Valid values include: `CONSTANT`, `CUSTOM_KEYS`, `FORWARDED_IP` or `IP`. Default: `IP`.
-
customKeys
public java.util.List<RuleGroupRuleStatementRateBasedStatementCustomKey> customKeys()
- Returns:
- Aggregate the request counts using one or more web request components as the aggregate keys. See `custom_key` below for details.
-
evaluationWindowSec
public java.util.Optional<java.lang.Integer> evaluationWindowSec()
- Returns:
- The 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.
-
forwardedIpConfig
public java.util.Optional<RuleGroupRuleStatementRateBasedStatementForwardedIpConfig> forwardedIpConfig()
- Returns:
- The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. If `aggregate_key_type` is set to `FORWARDED_IP`, this block is required. See Forwarded IP Config below for details.
-
limit
public java.lang.Integer limit()
- Returns:
- The limit on requests per 5-minute period for a single originating IP address.
-
scopeDownStatement
public java.util.Optional<RuleGroupRuleStatementRateBasedStatementScopeDownStatement> scopeDownStatement()
- Returns:
- An 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 `aggregate_key_type` is set to `CONSTANT`, this block is required.
-
builder
public static RuleGroupRuleStatementRateBasedStatement.Builder builder()
-
builder
public static RuleGroupRuleStatementRateBasedStatement.Builder builder(RuleGroupRuleStatementRateBasedStatement defaults)
-
-