@Stability(value=Stable) @Internal public static final class CfnRuleGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroupProps
CfnRuleGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnRuleGroupProps.Builder, CfnRuleGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRuleGroupProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRuleGroupProps.Builder. |
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(Object o) |
Number |
getCapacity()
The web ACL capacity units (WCUs) required for this rule group.
|
Object |
getCustomResponseBodies()
A map of custom response keys and content bodies.
|
String |
getDescription()
A description of the rule group that helps with identification.
|
String |
getName()
The name of the rule group.
|
Object |
getRules()
The rule statements used to identify the web requests that you want to allow, block, or count.
|
String |
getScope()
Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
|
List<CfnTag> |
getTags()
Key:value pairs associated with an AWS resource.
|
Object |
getVisibilityConfig()
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRuleGroupProps.Builder builder)
CfnRuleGroupProps.Builder.public final Number getCapacity()
CfnRuleGroupPropsWhen you create your own rule group, you define this, and you cannot change it after creation. When you add or modify the rules in a rule group, AWS WAF enforces this limit.
AWS WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. AWS WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.
getCapacity in interface CfnRuleGroupPropspublic final String getScope()
CfnRuleGroupProps
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AWS AppSync GraphQL API. Valid Values are CLOUDFRONT and REGIONAL .
For
CLOUDFRONT, you must create your WAFv2 resources in the US East (N. Virginia) Region,us-east-1.
getScope in interface CfnRuleGroupPropspublic final Object getVisibilityConfig()
CfnRuleGroupPropsgetVisibilityConfig in interface CfnRuleGroupPropspublic final Object getCustomResponseBodies()
CfnRuleGroupPropsWhen you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group.
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 CfnRuleGroupPropspublic final String getDescription()
CfnRuleGroupPropsgetDescription in interface CfnRuleGroupPropspublic final String getName()
CfnRuleGroupPropsYou cannot change the name of a rule group after you create it.
getName in interface CfnRuleGroupPropspublic final Object getRules()
CfnRuleGroupPropsEach 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 CfnRuleGroupPropspublic final List<CfnTag> getTags()
CfnRuleGroupPropsThe 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 CfnRuleGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.