Show / Hide Table of Contents

Interface CfnWebACL.ICaptchaActionProperty

Specifies that AWS WAF should run a CAPTCHA check against the request:.

Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnWebACL.ICaptchaActionProperty
Syntax (vb)
Public Interface CfnWebACL.ICaptchaActionProperty
Remarks

    AWS WAF generates a response that it sends back to the client, which includes the following:

      You can configure the expiration time in the CaptchaConfig ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.

      This action option is available for rules. It isn't available for web ACL default actions.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-captchaaction.html

      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 captchaActionProperty = new CaptchaActionProperty {
                       CustomRequestHandling = new CustomRequestHandlingProperty {
                           InsertHeaders = new [] { new CustomHTTPHeaderProperty {
                               Name = "name",
                               Value = "value"
                           } }
                       }
                   };

      Synopsis

      Properties

      CustomRequestHandling

      Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.

      Properties

      CustomRequestHandling

      Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.

      object? CustomRequestHandling { get; }
      Property Value

      object

      Remarks

      For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-captchaaction.html#cfn-wafv2-webacl-captchaaction-customrequesthandling

      Type union: either IResolvable or CfnWebACL.ICustomRequestHandlingProperty

      Back to top Generated by DocFX