Interface CfnWebACL.IAllowActionProperty
Specifies that AWS WAF should allow the request and optionally defines additional custom handling for the request.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAllowActionProperty
Syntax (vb)
Public Interface IAllowActionProperty
Remarks
This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.
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 allowActionProperty = new AllowActionProperty {
CustomRequestHandling = new CustomRequestHandlingProperty {
InsertHeaders = new [] { new CustomHTTPHeaderProperty {
Name = "name",
Value = "value"
} }
}
};
Synopsis
Properties
Custom |
Defines custom handling for the web request. |
Properties
CustomRequestHandling
Defines custom handling for the web request.
virtual object CustomRequestHandling { get; }
Property Value
System.
Remarks
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .