Class CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.AWSManagedRulesATPRuleSetProperty>
- Enclosing interface:
- CfnWebACL.AWSManagedRulesATPRuleSetProperty
CfnWebACL.AWSManagedRulesATPRuleSetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getLoginPath()
requestInspection
(IResolvable requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getRequestInspection()
requestInspection
(CfnWebACL.RequestInspectionProperty requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getRequestInspection()
responseInspection
(IResolvable responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getResponseInspection()
responseInspection
(CfnWebACL.ResponseInspectionProperty responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getResponseInspection()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loginPath
@Stability(Stable) public CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder loginPath(String loginPath) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getLoginPath()
- Parameters:
loginPath
- The path of the login endpoint for your application. This parameter is required. For example, for the URLhttps://example.com/web/login
, you would provide the path/web/login
.The rule group inspects only HTTP
POST
requests to your specified login endpoint.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder requestInspection(IResolvable requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getRequestInspection()
- Parameters:
requestInspection
- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder requestInspection(CfnWebACL.RequestInspectionProperty requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getRequestInspection()
- Parameters:
requestInspection
- The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.- Returns:
this
-
responseInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder responseInspection(IResolvable responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getResponseInspection()
- 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 CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder responseInspection(CfnWebACL.ResponseInspectionProperty responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesATPRuleSetProperty.getResponseInspection()
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.AWSManagedRulesATPRuleSetProperty>
- Returns:
- a new instance of
CfnWebACL.AWSManagedRulesATPRuleSetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-