GetRegionSecurityPolicyRule constructor
- required Input<
String> action, - required Input<
String> description, - required Input<
List< matches,GetRegionSecurityPolicyRuleMatch> > - required Input<
List< networkMatches,GetRegionSecurityPolicyRuleNetworkMatch> > - required Input<
List< preconfiguredWafConfigs,GetRegionSecurityPolicyRulePreconfiguredWafConfig> > - required Input<
bool> preview, - required Input<
int> priority, - required Input<
List< rateLimitOptions,GetRegionSecurityPolicyRuleRateLimitOption> >
Creates a new GetRegionSecurityPolicyRule.
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.
matches A match condition that incoming traffic is evaluated against.
networkMatches A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced.
preconfiguredWafConfigs 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 GetRegionSecurityPolicyRule({
required this.action,
required this.description,
required this.matches,
required this.networkMatches,
required this.preconfiguredWafConfigs,
required this.preview,
required this.priority,
required this.rateLimitOptions,
});