amazonka-wafv2-2.0: Amazon WAFV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFV2.Types.ActionCondition

Description

 
Synopsis

Documentation

data ActionCondition Source #

A single action condition for a Condition in a logging filter.

See: newActionCondition smart constructor.

Constructors

ActionCondition' 

Fields

  • action :: ActionValue

    The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.

    For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and also on rules that have a rule action override of Count.

Instances

Instances details
FromJSON ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

ToJSON ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

Generic ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

Associated Types

type Rep ActionCondition :: Type -> Type #

Read ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

Show ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

NFData ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

Methods

rnf :: ActionCondition -> () #

Eq ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

Hashable ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

type Rep ActionCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ActionCondition

type Rep ActionCondition = D1 ('MetaData "ActionCondition" "Amazonka.WAFV2.Types.ActionCondition" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ActionCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionValue)))

newActionCondition Source #

Create a value of ActionCondition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:ActionCondition', actionCondition_action - The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.

For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and also on rules that have a rule action override of Count.

actionCondition_action :: Lens' ActionCondition ActionValue Source #

The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.

For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and also on rules that have a rule action override of Count.