Class: Aws::Lightsail::Types::WafAtpConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::WafAtpConfig
- Defined in:
- gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb
Overview
Describes the configuration of the account takeover prevention Web Application Firewall (WAF) rule group. The rule group inspects login requests to the login path of your application.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#login_path ⇒ String
The path of the login endpoint of your application (for example,
/login). -
#password_field ⇒ String
The name of the field in the request body that contains the password (for example,
/passwordforJSONorpasswordforFORM_ENCODED). -
#payload_type ⇒ String
The content type of the request body of login requests.
-
#response_inspection ⇒ Types::WafResponseInspection
An object that describes the HTTP status codes that your application returns for successful and failed login attempts.
-
#username_field ⇒ String
The name of the field in the request body that contains the username (for example,
/usernameforJSONorusernameforFORM_ENCODED).
Instance Attribute Details
#login_path ⇒ String
The path of the login endpoint of your application (for example,
/login). Login paths that start with the path that you specify are
a match.
Constraints:
Must start with a forward slash (
/).Must contain from 1 to 256 characters.
15975 15976 15977 15978 15979 15980 15981 15982 15983 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15975 class WafAtpConfig < Struct.new( :login_path, :payload_type, :username_field, :password_field, :response_inspection) SENSITIVE = [] include Aws::Structure end |
#password_field ⇒ String
The name of the field in the request body that contains the password
(for example, /password for JSON or password for
FORM_ENCODED).
Constraints:
For a
JSONpayload, must be a JSON pointer that starts with a forward slash (/).Must contain from 1 to 512 characters.
15975 15976 15977 15978 15979 15980 15981 15982 15983 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15975 class WafAtpConfig < Struct.new( :login_path, :payload_type, :username_field, :password_field, :response_inspection) SENSITIVE = [] include Aws::Structure end |
#payload_type ⇒ String
The content type of the request body of login requests.
The following content types are possible:
JSON– The request body is in JSON format.FORM_ENCODED– The request body is form encoded.
15975 15976 15977 15978 15979 15980 15981 15982 15983 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15975 class WafAtpConfig < Struct.new( :login_path, :payload_type, :username_field, :password_field, :response_inspection) SENSITIVE = [] include Aws::Structure end |
#response_inspection ⇒ Types::WafResponseInspection
An object that describes the HTTP status codes that your application returns for successful and failed login attempts.
15975 15976 15977 15978 15979 15980 15981 15982 15983 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15975 class WafAtpConfig < Struct.new( :login_path, :payload_type, :username_field, :password_field, :response_inspection) SENSITIVE = [] include Aws::Structure end |
#username_field ⇒ String
The name of the field in the request body that contains the username
(for example, /username for JSON or username for
FORM_ENCODED).
Constraints:
For a
JSONpayload, must be a JSON pointer that starts with a forward slash (/).Must contain from 1 to 512 characters.
15975 15976 15977 15978 15979 15980 15981 15982 15983 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15975 class WafAtpConfig < Struct.new( :login_path, :payload_type, :username_field, :password_field, :response_inspection) SENSITIVE = [] include Aws::Structure end |