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

Description

 
Synopsis

Documentation

data ImmunityTimeProperty Source #

Used for CAPTCHA and challenge token settings. Determines how long a CAPTCHA or challenge timestamp remains valid after WAF updates it for a successful CAPTCHA or challenge response.

See: newImmunityTimeProperty smart constructor.

Constructors

ImmunityTimeProperty' 

Fields

  • immunityTime :: Natural

    The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF. The default setting is 300.

    For the Challenge action, the minimum setting is 300.

Instances

Instances details
FromJSON ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

ToJSON ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

Generic ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

Associated Types

type Rep ImmunityTimeProperty :: Type -> Type #

Read ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

Show ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

NFData ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

Methods

rnf :: ImmunityTimeProperty -> () #

Eq ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

Hashable ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

type Rep ImmunityTimeProperty Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ImmunityTimeProperty

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

newImmunityTimeProperty Source #

Create a value of ImmunityTimeProperty 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:immunityTime:ImmunityTimeProperty', immunityTimeProperty_immunityTime - The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF. The default setting is 300.

For the Challenge action, the minimum setting is 300.

immunityTimeProperty_immunityTime :: Lens' ImmunityTimeProperty Natural Source #

The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF. The default setting is 300.

For the Challenge action, the minimum setting is 300.