Class: Aws::WAFV2::Types::DefaultAction

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

Overview

In a WebACL, this is the action that you want WAF to perform when a web request doesn't match any of the rules in the WebACL. The default action must be a terminating action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowTypes::AllowAction

Specifies that WAF should allow requests by default.

Returns:



1296
1297
1298
1299
1300
1301
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1296

class DefaultAction < Struct.new(
  :block,
  :allow)
  SENSITIVE = []
  include Aws::Structure
end

#blockTypes::BlockAction

Specifies that WAF should block requests by default.

Returns:



1296
1297
1298
1299
1300
1301
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1296

class DefaultAction < Struct.new(
  :block,
  :allow)
  SENSITIVE = []
  include Aws::Structure
end