Class CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.AWSManagedRulesACFPRuleSetProperty>
- Enclosing interface:
CfnWebACL.AWSManagedRulesACFPRuleSetProperty
CfnWebACL.AWSManagedRulesACFPRuleSetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.creationPath
(String creationPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getCreationPath()
enableRegexInPath
(Boolean enableRegexInPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getEnableRegexInPath()
enableRegexInPath
(IResolvable enableRegexInPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getEnableRegexInPath()
registrationPagePath
(String registrationPagePath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRegistrationPagePath()
requestInspection
(IResolvable requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRequestInspection()
requestInspection
(CfnWebACL.RequestInspectionACFPProperty requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRequestInspection()
responseInspection
(IResolvable responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getResponseInspection()
responseInspection
(CfnWebACL.ResponseInspectionProperty responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getResponseInspection()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationPath
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder creationPath(String creationPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getCreationPath()
- Parameters:
creationPath
- The path of the account creation endpoint for your application. This parameter is required. This is the page on your website that accepts the completed registration form for a new user. This page must acceptPOST
requests.For example, for the URL
https://example.com/web/newaccount
, you would provide the path/web/newaccount
. Account creation page paths that start with the path that you provide are considered a match. For example/web/newaccount
matches the account creation paths/web/newaccount
,/web/newaccount/
,/web/newaccountPage
, and/web/newaccount/thisPage
, but doesn't match the path/home/web/newaccount
or/website/newaccount
.- Returns:
this
-
registrationPagePath
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder registrationPagePath(String registrationPagePath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRegistrationPagePath()
- Parameters:
registrationPagePath
- The path of the account registration endpoint for your application. This parameter is required. This is the page on your website that presents the registration form to new users.This page must accept
GET
text/html requests.For example, for the URL
https://example.com/web/registration
, you would provide the path/web/registration
. Registration page paths that start with the path that you provide are considered a match. For example/web/registration
matches the registration paths/web/registration
,/web/registration/
,/web/registrationPage
, and/web/registration/thisPage
, but doesn't match the path/home/web/registration
or/website/registration
.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder requestInspection(IResolvable requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRequestInspection()
- Parameters:
requestInspection
- The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts. This parameter is required.- Returns:
this
-
requestInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder requestInspection(CfnWebACL.RequestInspectionACFPProperty requestInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getRequestInspection()
- Parameters:
requestInspection
- The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts. This parameter is required.- Returns:
this
-
enableRegexInPath
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder enableRegexInPath(Boolean enableRegexInPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getEnableRegexInPath()
- Parameters:
enableRegexInPath
- Allow the use of regular expressions in the registration page path and the account creation path.- Returns:
this
-
enableRegexInPath
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder enableRegexInPath(IResolvable enableRegexInPath) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getEnableRegexInPath()
- Parameters:
enableRegexInPath
- Allow the use of regular expressions in the registration page path and the account creation path.- Returns:
this
-
responseInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder responseInspection(IResolvable responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getResponseInspection()
- Parameters:
responseInspection
- The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from 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 successful account creation attempts in a short amount of time.
- Returns:
this
-
responseInspection
@Stability(Stable) public CfnWebACL.AWSManagedRulesACFPRuleSetProperty.Builder responseInspection(CfnWebACL.ResponseInspectionProperty responseInspection) Sets the value ofCfnWebACL.AWSManagedRulesACFPRuleSetProperty.getResponseInspection()
- Parameters:
responseInspection
- The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from 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 successful account creation attempts in a short amount of time.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.AWSManagedRulesACFPRuleSetProperty>
- Returns:
- a new instance of
CfnWebACL.AWSManagedRulesACFPRuleSetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-