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.LabelNameCondition

Description

 
Synopsis

Documentation

data LabelNameCondition Source #

A single label name condition for a Condition in a logging filter.

See: newLabelNameCondition smart constructor.

Constructors

LabelNameCondition' 

Fields

  • labelName :: Text

    The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.

Instances

Instances details
FromJSON LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

ToJSON LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

Generic LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

Associated Types

type Rep LabelNameCondition :: Type -> Type #

Read LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

Show LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

NFData LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

Methods

rnf :: LabelNameCondition -> () #

Eq LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

Hashable LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

type Rep LabelNameCondition Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LabelNameCondition

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

newLabelNameCondition Source #

Create a value of LabelNameCondition 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:labelName:LabelNameCondition', labelNameCondition_labelName - The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.

labelNameCondition_labelName :: Lens' LabelNameCondition Text Source #

The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.