Class: Aws::WAFV2::Types::Condition

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

Overview

Note:

When making an API call, you may pass Condition data as a hash:

{
  action_condition: {
    action: "ALLOW", # required, accepts ALLOW, BLOCK, COUNT, CAPTCHA, EXCLUDED_AS_COUNT
  },
  label_name_condition: {
    label_name: "LabelName", # required
  },
}

A single match condition for a Filter.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_conditionTypes::ActionCondition

A single action condition.



1221
1222
1223
1224
1225
1226
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1221

class Condition < Struct.new(
  :action_condition,
  :label_name_condition)
  SENSITIVE = []
  include Aws::Structure
end

#label_name_conditionTypes::LabelNameCondition

A single label name condition.



1221
1222
1223
1224
1225
1226
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1221

class Condition < Struct.new(
  :action_condition,
  :label_name_condition)
  SENSITIVE = []
  include Aws::Structure
end