RegionSecurityPolicyRuleRateLimitOptions constructor

const RegionSecurityPolicyRuleRateLimitOptions({
  1. Input<int?>? banDurationSec,
  2. Input<RegionSecurityPolicyRuleRateLimitOptionsBanThreshold?>? banThreshold,
  3. Input<String?>? conformAction,
  4. Input<String?>? enforceOnKey,
  5. Input<List<RegionSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>?>? enforceOnKeyConfigs,
  6. Input<String?>? enforceOnKeyName,
  7. Input<String?>? exceedAction,
  8. Input<RegionSecurityPolicyRuleRateLimitOptionsRateLimitThreshold?>? rateLimitThreshold,
})

Creates a new RegionSecurityPolicyRuleRateLimitOptions. banDurationSec Can only be specified if the action for the rule is "rateBasedBan". banThreshold Can only be specified if the action for the rule is "rateBasedBan". conformAction Action to take for requests that are under the configured rate limit threshold. enforceOnKey Determines the key to enforce the rateLimitThreshold on. Possible values are: enforceOnKeyConfigs If specified, any combination of values of enforceOnKeyType/enforceOnKeyName is treated as the key on which ratelimit threshold/action is enforced. enforceOnKeyName Rate limit key name applicable only for the following key types: exceedAction Action to take for requests that are above the configured rate limit threshold, to deny with a specified HTTP response code. rateLimitThreshold Threshold at which to begin ratelimiting.

Implementation

const RegionSecurityPolicyRuleRateLimitOptions({
  this.banDurationSec,
  this.banThreshold,
  this.conformAction,
  this.enforceOnKey,
  this.enforceOnKeyConfigs,
  this.enforceOnKeyName,
  this.exceedAction,
  this.rateLimitThreshold,
});