AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.SecurityHub.Model.AwsWafv2CustomResponseDetails

Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z

Syntax

C#
public class AwsWafv2CustomResponseDetails

The AwsWafv2CustomResponseDetails type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property ResponseHeaders System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsWafv2CustomHttpHeader>

Gets and sets the property ResponseHeaders.

The HTTP headers to use in the response.

Version Information

.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