Class: Aws::Lightsail::Types::WafResponseInspection

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Describes the HTTP status codes that your application returns to indicate successful and failed attempts. The Web Application Firewall (WAF) rule group uses these status codes to track successful and failed attempts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_codes ⇒ Array<Integer>

The HTTP status codes that indicate a failed attempt (for example, 401).

Constraints:

  • Must contain from 1 to 10 status codes.

  • Each status code must be from 0 to 999.

  • Can't contain a status code that is also in successCodes.

Returns:

  • (Array<Integer>)


16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16064

class WafResponseInspection < Struct.new(
  :success_codes,
  :failure_codes)
  SENSITIVE = []
  include Aws::Structure
end

#success_codes ⇒ Array<Integer>

The HTTP status codes that indicate a successful attempt (for example, 200).

Constraints:

  • Must contain from 1 to 10 status codes.

  • Each status code must be from 0 to 999.

  • Can't contain a status code that is also in failureCodes.

Returns:

  • (Array<Integer>)


16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16064

class WafResponseInspection < Struct.new(
  :success_codes,
  :failure_codes)
  SENSITIVE = []
  include Aws::Structure
end