libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Description

 
Synopsis

Documentation

data AwsWafRateBasedRuleMatchPredicate Source #

A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

See: newAwsWafRateBasedRuleMatchPredicate smart constructor.

Constructors

AwsWafRateBasedRuleMatchPredicate' 

Fields

  • negated :: Maybe Bool

    If set to true, then the rule actions are performed on requests that match the predicate settings.

    If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

  • dataId :: Maybe Text

    The unique identifier for the predicate.

  • type' :: Maybe Text

    The type of predicate.

Instances

Instances details
Eq AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Read AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Show AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Generic AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Associated Types

type Rep AwsWafRateBasedRuleMatchPredicate :: Type -> Type #

NFData AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

Hashable AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

ToJSON AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

FromJSON AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

type Rep AwsWafRateBasedRuleMatchPredicate Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate

type Rep AwsWafRateBasedRuleMatchPredicate = D1 ('MetaData "AwsWafRateBasedRuleMatchPredicate" "Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsWafRateBasedRuleMatchPredicate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "negated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "dataId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsWafRateBasedRuleMatchPredicate :: AwsWafRateBasedRuleMatchPredicate Source #

Create a value of AwsWafRateBasedRuleMatchPredicate 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:negated:AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_negated - If set to true, then the rule actions are performed on requests that match the predicate settings.

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

$sel:dataId:AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_dataId - The unique identifier for the predicate.

$sel:type':AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_type - The type of predicate.

awsWafRateBasedRuleMatchPredicate_negated :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Bool) Source #

If set to true, then the rule actions are performed on requests that match the predicate settings.

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.