public static final class CfnWebACLProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACLProps
CfnWebACLProps
CfnWebACLProps.Builder, CfnWebACLProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getCaptchaConfig()
Specifies how AWS WAF should handle `CAPTCHA` evaluations for rules that don't have their own `CaptchaConfig` settings.
|
java.lang.Object |
getChallengeConfig()
Specifies how AWS WAF should handle challenge evaluations for rules that don't have their own `ChallengeConfig` settings.
|
java.lang.Object |
getCustomResponseBodies()
A map of custom response keys and content bodies.
|
java.lang.Object |
getDefaultAction()
The action to perform if none of the `Rules` contained in the `WebACL` match.
|
java.lang.String |
getDescription()
A description of the web ACL that helps with identification.
|
java.lang.String |
getName()
The name of the web ACL.
|
java.lang.Object |
getRules()
The rule statements used to identify the web requests that you want to allow, block, or count.
|
java.lang.String |
getScope()
Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
|
java.util.List<CfnTag> |
getTags()
Key:value pairs associated with an AWS resource.
|
java.util.List<java.lang.String> |
getTokenDomains()
Specifies the domains that AWS WAF should accept in a web request token.
|
java.lang.Object |
getVisibilityConfig()
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getDefaultAction()
CfnWebACLProps
getDefaultAction
in interface CfnWebACLProps
public final java.lang.String getScope()
CfnWebACLProps
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AWS AppSync GraphQL API, an Amazon Cognito user pool, or an AWS App Runner service. Valid Values are CLOUDFRONT
and REGIONAL
.
For
CLOUDFRONT
, you must create your WAFv2 resources in the US East (N. Virginia) Region,us-east-1
.
For information about how to define the association of the web ACL with your resource, see WebACLAssociation
.
getScope
in interface CfnWebACLProps
public final java.lang.Object getVisibilityConfig()
CfnWebACLProps
getVisibilityConfig
in interface CfnWebACLProps
public final java.lang.Object getCaptchaConfig()
CfnWebACLProps
If you don't specify this, AWS WAF uses its default settings for CaptchaConfig
.
getCaptchaConfig
in interface CfnWebACLProps
public final java.lang.Object getChallengeConfig()
CfnWebACLProps
If you don't specify this, AWS WAF uses its default settings for ChallengeConfig
.
getChallengeConfig
in interface CfnWebACLProps
public final java.lang.Object getCustomResponseBodies()
CfnWebACLProps
When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .
For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .
getCustomResponseBodies
in interface CfnWebACLProps
public final java.lang.String getDescription()
CfnWebACLProps
getDescription
in interface CfnWebACLProps
public final java.lang.String getName()
CfnWebACLProps
You cannot change the name of a web ACL after you create it.
getName
in interface CfnWebACLProps
public final java.lang.Object getRules()
CfnWebACLProps
Each rule includes one top-level statement that AWS WAF uses to identify matching web requests, and parameters that govern how AWS WAF handles them.
getRules
in interface CfnWebACLProps
public final java.util.List<CfnTag> getTags()
CfnWebACLProps
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
getTags
in interface CfnWebACLProps
public final java.util.List<java.lang.String> getTokenDomains()
CfnWebACLProps
This enables the use of tokens across multiple protected websites. When AWS WAF provides a token, it uses the domain of the AWS resource that the web ACL is protecting. If you don't specify a list of token domains, AWS WAF accepts tokens only for the domain of the protected resource. With a token domain list, AWS WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
getTokenDomains
in interface CfnWebACLProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()