RegionSecurityPolicyRuleState constructor

const RegionSecurityPolicyRuleState({
  1. Input<String?>? action,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<RegionSecurityPolicyRuleMatch?>? match,
  5. Input<RegionSecurityPolicyRuleNetworkMatch?>? networkMatch,
  6. Input<RegionSecurityPolicyRulePreconfiguredWafConfig?>? preconfiguredWafConfig,
  7. Input<bool?>? preview,
  8. Input<int?>? priority,
  9. Input<String?>? project,
  10. Input<RegionSecurityPolicyRuleRateLimitOptions?>? rateLimitOptions,
  11. Input<String?>? region,
  12. Input<String?>? securityPolicy,
})

Creates a new RegionSecurityPolicyRuleState. action The Action to perform when the rule is matched. The following are the valid actions: deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. 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. project The ID of the project in which the resource belongs. rateLimitOptions Must be specified if the action is "rateBasedBan" or "throttle". Cannot be specified for any other actions. region The Region in which the created Region Security Policy rule should reside. securityPolicy The name of the security policy this rule belongs to.

Implementation

const RegionSecurityPolicyRuleState({
  this.action,
  this.deletionPolicy,
  this.description,
  this.match,
  this.networkMatch,
  this.preconfiguredWafConfig,
  this.preview,
  this.priority,
  this.project,
  this.rateLimitOptions,
  this.region,
  this.securityPolicy,
});