Class WebAclRuleArgs
Inherited Members
Namespace: Pulumi.Aws.Waf.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class WebAclRuleArgs : ResourceArgs
Constructors
View SourceWebAclRuleArgs()
Declaration
public WebAclRuleArgs()
Properties
View SourceAction
The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if type is GROUP.
Declaration
public Input<WebAclRuleActionArgs> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<WebAclRuleActionArgs> |
OverrideAction
Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if type is GROUP.
Declaration
public Input<WebAclRuleOverrideActionArgs> OverrideAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<WebAclRuleOverrideActionArgs> |
Priority
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RuleId
ID of the associated WAF (Global) rule (e.g. aws.waf.Rule). WAF (Regional) rules cannot be used.
Declaration
public Input<string> RuleId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Type
The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to set type as RATE_BASED. If you add a GROUP rule, you need to set type as GROUP.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |