RegionSecurityPolicyRule constructor

const RegionSecurityPolicyRule({
  1. required Input<String> action,
  2. Input<String?>? description,
  3. Input<RegionSecurityPolicyRuleMatch?>? match,
  4. Input<RegionSecurityPolicyRuleNetworkMatch?>? networkMatch,
  5. Input<RegionSecurityPolicyRulePreconfiguredWafConfig?>? preconfiguredWafConfig,
  6. Input<bool?>? preview,
  7. required Input<int> priority,
  8. Input<RegionSecurityPolicyRuleRateLimitOptions?>? rateLimitOptions,
})

Creates a new RegionSecurityPolicyRule. action The Action to perform when the rule is matched. The following are the valid actions: description An optional description of this resource. Provide this property when you create the resource. match A match condition that incoming traffic is evaluated against. networkMatch A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. preconfiguredWafConfig Preconfigured WAF configuration to be applied for the rule. preview If set to true, the specified action is not enforced. priority An integer indicating the priority of a rule in the list. rateLimitOptions Must be specified if the action is "rateBasedBan" or "throttle". Cannot be specified for any other actions.

Implementation

const RegionSecurityPolicyRule({
  required this.action,
  this.description,
  this.match,
  this.networkMatch,
  this.preconfiguredWafConfig,
  this.preview,
  required this.priority,
  this.rateLimitOptions,
});