Show / Hide Table of Contents

Class CfnWebACL.ResponseInspectionStatusCodeProperty

Configures inspection of the response status code. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet .

Inheritance
System.Object
CfnWebACL.ResponseInspectionStatusCodeProperty
Implements
CfnWebACL.IResponseInspectionStatusCodeProperty
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.AWS.WAFv2.dll
Syntax (csharp)
public class ResponseInspectionStatusCodeProperty : Object, CfnWebACL.IResponseInspectionStatusCodeProperty
Syntax (vb)
Public Class ResponseInspectionStatusCodeProperty
    Inherits Object
    Implements CfnWebACL.IResponseInspectionStatusCodeProperty
Remarks

Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-responseinspectionstatuscode.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 responseInspectionStatusCodeProperty = new ResponseInspectionStatusCodeProperty {
    FailureCodes = new [] { 123 },
    SuccessCodes = new [] { 123 }
};

Synopsis

Constructors

ResponseInspectionStatusCodeProperty()

Properties

FailureCodes

Status codes in the response that indicate a failed login or account creation attempt.

SuccessCodes

Status codes in the response that indicate a successful login or account creation attempt.

Constructors

ResponseInspectionStatusCodeProperty()

public ResponseInspectionStatusCodeProperty()

Properties

FailureCodes

Status codes in the response that indicate a failed login or account creation attempt.

public object FailureCodes { get; set; }
Property Value

System.Object

Remarks

To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

JSON example: "FailureCodes": [ 400, 404 ]

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-responseinspectionstatuscode.html#cfn-wafv2-webacl-responseinspectionstatuscode-failurecodes

SuccessCodes

Status codes in the response that indicate a successful login or account creation attempt.

public object SuccessCodes { get; set; }
Property Value

System.Object

Remarks

To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

JSON example: "SuccessCodes": [ 200, 201 ]

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-responseinspectionstatuscode.html#cfn-wafv2-webacl-responseinspectionstatuscode-successcodes

Implements

CfnWebACL.IResponseInspectionStatusCodeProperty
Back to top Generated by DocFX