Class: Aws::WAFV2::Types::FirewallManagerRuleGroup

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

A rule group that's defined for an AWS Firewall Manager WAF policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#firewall_manager_statementTypes::FirewallManagerStatement

The processing guidance for an AWS Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.



2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 2372

class FirewallManagerRuleGroup < Struct.new(
  :name,
  :priority,
  :firewall_manager_statement,
  :override_action,
  :visibility_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the rule group. You cannot change the name of a rule group after you create it.

Returns:

  • (String)


2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 2372

class FirewallManagerRuleGroup < Struct.new(
  :name,
  :priority,
  :firewall_manager_statement,
  :override_action,
  :visibility_config)
  SENSITIVE = []
  include Aws::Structure
end

#override_actionTypes::OverrideAction

The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

  • If the rule statement references a rule group, use this override action setting and not the action setting.

  • If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.



2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 2372

class FirewallManagerRuleGroup < Struct.new(
  :name,
  :priority,
  :firewall_manager_statement,
  :override_action,
  :visibility_config)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

If you define more than one rule group in the first or last Firewall Manager rule groups, AWS WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. The priorities don't need to be consecutive, but they must all be different.

Returns:

  • (Integer)


2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 2372

class FirewallManagerRuleGroup < Struct.new(
  :name,
  :priority,
  :firewall_manager_statement,
  :override_action,
  :visibility_config)
  SENSITIVE = []
  include Aws::Structure
end

#visibility_configTypes::VisibilityConfig

This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.

Defines and enables Amazon CloudWatch metrics and web request sample collection.



2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 2372

class FirewallManagerRuleGroup < Struct.new(
  :name,
  :priority,
  :firewall_manager_statement,
  :override_action,
  :visibility_config)
  SENSITIVE = []
  include Aws::Structure
end