Class CfnRuleGroup.ImmunityTimePropertyProperty
Used for CAPTCHA and challenge token settings.
Inheritance
System.Object
CfnRuleGroup.ImmunityTimePropertyProperty
Implements
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ImmunityTimePropertyProperty : Object, CfnRuleGroup.IImmunityTimePropertyProperty
Syntax (vb)
Public Class ImmunityTimePropertyProperty
Inherits Object
Implements CfnRuleGroup.IImmunityTimePropertyProperty
Remarks
Determines how long a CAPTCHA
or challenge timestamp remains valid after AWS WAF updates it for a successful CAPTCHA
or challenge response.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var immunityTimePropertyProperty = new ImmunityTimePropertyProperty {
ImmunityTime = 123
};
Synopsis
Constructors
ImmunityTimePropertyProperty() |
Properties
ImmunityTime | The amount of time, in seconds, that a |
Constructors
ImmunityTimePropertyProperty()
public ImmunityTimePropertyProperty()
Properties
ImmunityTime
The amount of time, in seconds, that a CAPTCHA
or challenge timestamp is considered valid by AWS WAF .
public double ImmunityTime { get; set; }
Property Value
System.Double
Remarks
The default setting is 300.
For the Challenge action, the minimum setting is 300.