GetRegionSecurityPolicyRuleRateLimitOption constructor
- required Input<
int> banDurationSec, - required Input<
List< banThresholds,GetRegionSecurityPolicyRuleRateLimitOptionBanThreshold> > - required Input<
String> conformAction, - required Input<
String> enforceOnKey, - required Input<
List< enforceOnKeyConfigs,GetRegionSecurityPolicyRuleRateLimitOptionEnforceOnKeyConfig> > - required Input<
String> enforceOnKeyName, - required Input<
String> exceedAction, - required Input<
List< rateLimitThresholds,GetRegionSecurityPolicyRuleRateLimitOptionRateLimitThreshold> >
Creates a new GetRegionSecurityPolicyRuleRateLimitOption.
banDurationSec Can only be specified if the action for the rule is "rateBasedBan".
banThresholds 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.
rateLimitThresholds Threshold at which to begin ratelimiting.
Implementation
const GetRegionSecurityPolicyRuleRateLimitOption({
required this.banDurationSec,
required this.banThresholds,
required this.conformAction,
required this.enforceOnKey,
required this.enforceOnKeyConfigs,
required this.enforceOnKeyName,
required this.exceedAction,
required this.rateLimitThresholds,
});