AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A custom response to send to the client. You can define a custom response for rule actions and default web ACL actions that are set to block.
Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z
public class AwsWafv2CustomResponseDetails
The AwsWafv2CustomResponseDetails type exposes the following members
Name | Description | |
---|---|---|
![]() |
AwsWafv2CustomResponseDetails() |
Name | Type | Description | |
---|---|---|---|
![]() |
CustomResponseBodyKey | System.String |
Gets and sets the property CustomResponseBodyKey. References the response body that you want WAF to return to the web request client. You can define a custom response for a rule action or a default web ACL action that is set to block. |
![]() |
ResponseCode | System.Int32 |
Gets and sets the property ResponseCode. The HTTP status code to return to the client. For a list of status codes that you can use in your custom responses, see Supported status codes for custom response in the WAF Developer Guide. |
![]() |
ResponseHeaders | System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsWafv2CustomHttpHeader> |
Gets and sets the property ResponseHeaders. The HTTP headers to use in the response. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5