Class CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty>
- Enclosing interface:
CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty
CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableRegexInPath(Boolean enableRegexInPath) enableRegexInPath(IResolvable enableRegexInPath) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.getLoginPath()requestInspection(CfnWebACLPropsMixin.RequestInspectionProperty requestInspection) requestInspection(IResolvable requestInspection) responseInspection(CfnWebACLPropsMixin.ResponseInspectionProperty responseInspection) responseInspection(IResolvable responseInspection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableRegexInPath
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder enableRegexInPath(Boolean enableRegexInPath) - Parameters:
enableRegexInPath- Allow the use of regular expressions in the login page path.- Returns:
this
-
enableRegexInPath
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder enableRegexInPath(IResolvable enableRegexInPath) - Parameters:
enableRegexInPath- Allow the use of regular expressions in the login page path.- Returns:
this
-
loginPath
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder loginPath(String loginPath) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.getLoginPath()- Parameters:
loginPath- The path of the login endpoint for your application. For example, for the URLhttps://example.com/web/login, you would provide the path/web/login. Login paths that start with the path that you provide are considered a match. For example/web/loginmatches the login paths/web/login,/web/login/,/web/loginPage, and/web/login/thisPage, but doesn't match the login path/home/web/loginor/website/login.The rule group inspects only HTTP
POSTrequests to your specified login endpoint.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder requestInspection(IResolvable requestInspection) - Parameters:
requestInspection- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder requestInspection(CfnWebACLPropsMixin.RequestInspectionProperty requestInspection) - Parameters:
requestInspection- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.- Returns:
this
-
responseInspection
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder responseInspection(IResolvable responseInspection) - Parameters:
responseInspection- The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
- Returns:
this
-
responseInspection
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty.Builder responseInspection(CfnWebACLPropsMixin.ResponseInspectionProperty responseInspection) - Parameters:
responseInspection- The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-