Class: Aws::Lightsail::Types::WafResponseInspection
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::WafResponseInspection
- 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
-
#failure_codes ⇒ Array<Integer>
The HTTP status codes that indicate a failed attempt (for example,
401). -
#success_codes ⇒ Array<Integer>
The HTTP status codes that indicate a successful attempt (for example,
200).
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
0to999.Can't contain a status code that is also in
successCodes.
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
0to999.Can't contain a status code that is also in
failureCodes.
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 |