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

Description

 
Synopsis

Documentation

data OrStatement Source #

A logical rule statement used to combine other rule statements with OR logic. You provide more than one Statement within the OrStatement.

See: newOrStatement smart constructor.

Constructors

OrStatement' 

Fields

  • statements :: [Statement]

    The statements to combine with OR logic. You can use any statements that can be nested.

Instances

Instances details
FromJSON OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

ToJSON OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

Generic OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

Associated Types

type Rep OrStatement :: Type -> Type #

Read OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

Show OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

NFData OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

Methods

rnf :: OrStatement -> () #

Eq OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

Hashable OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

type Rep OrStatement Source # 
Instance details

Defined in Amazonka.WAFV2.Types.OrStatement

type Rep OrStatement = D1 ('MetaData "OrStatement" "Amazonka.WAFV2.Types.OrStatement" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "OrStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Statement])))

newOrStatement :: OrStatement Source #

Create a value of OrStatement 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:statements:OrStatement', orStatement_statements - The statements to combine with OR logic. You can use any statements that can be nested.

orStatement_statements :: Lens' OrStatement [Statement] Source #

The statements to combine with OR logic. You can use any statements that can be nested.