Class CfnRuleGroupMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleGroupMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRuleGroupMixinProps
CfnRuleGroupMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupMixinProps
CfnRuleGroupMixinProps.Builder, CfnRuleGroupMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnRuleGroupMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnRuleGroupMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe labels that one or more rules in this rule group add to matching web requests.final NumberThe web ACL capacity units (WCUs) required for this rule group.final ObjectThe labels that one or more rules in this rule group match against in label match statements.final ObjectA map of custom response keys and content bodies.final StringA description of the rule group that helps with identification.final StringgetName()The name of the rule group.final ObjectgetRules()The rule statements used to identify the web requests that you want to allow, block, or count.final StringgetScope()Specifies whether this is for an Amazon CloudFront distribution or for a regional application.getTags()Key:value pairs associated with an AWS resource.final ObjectDefines and enables Amazon CloudWatch metrics and web request sample collection.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnRuleGroupMixinProps.Builder.
-
-
Method Details
-
getAvailableLabels
Description copied from interface:CfnRuleGroupMixinPropsThe labels that one or more rules in this rule group add to matching web requests.These labels are defined in the
RuleLabelsfor aRule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroupPropsMixin.LabelSummaryProperty>- Specified by:
getAvailableLabelsin interfaceCfnRuleGroupMixinProps- See Also:
-
getCapacity
Description copied from interface:CfnRuleGroupMixinPropsThe web ACL capacity units (WCUs) required for this rule group.When 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.
- Specified by:
getCapacityin interfaceCfnRuleGroupMixinProps- See Also:
-
getConsumedLabels
Description copied from interface:CfnRuleGroupMixinPropsThe labels that one or more rules in this rule group match against in label match statements.These labels are defined in a
LabelMatchStatementspecification, in theStatementdefinition of a rule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroupPropsMixin.LabelSummaryProperty>- Specified by:
getConsumedLabelsin interfaceCfnRuleGroupMixinProps- See Also:
-
getCustomResponseBodies
Description copied from interface:CfnRuleGroupMixinPropsA map of custom response keys and content bodies.When 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 .
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnRuleGroupPropsMixin.CustomResponseBodyProperty>- Specified by:
getCustomResponseBodiesin interfaceCfnRuleGroupMixinProps- See Also:
-
getDescription
Description copied from interface:CfnRuleGroupMixinPropsA description of the rule group that helps with identification.- Specified by:
getDescriptionin interfaceCfnRuleGroupMixinProps- See Also:
-
getName
Description copied from interface:CfnRuleGroupMixinPropsThe name of the rule group.You cannot change the name of a rule group after you create it.
- Specified by:
getNamein interfaceCfnRuleGroupMixinProps- See Also:
-
getRules
Description copied from interface:CfnRuleGroupMixinPropsThe rule statements used to identify the web requests that you want to allow, block, or count.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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroupPropsMixin.RuleProperty>- Specified by:
getRulesin interfaceCfnRuleGroupMixinProps- See Also:
-
getScope
Description copied from interface:CfnRuleGroupMixinPropsSpecifies whether this is for an Amazon CloudFront distribution or for a regional application.For an AWS Amplify application, use
CLOUDFRONT. A regional application can be an Application Load Balancer (ALB), an REST API, an AWS AppSync GraphQL API, an Amazon Cognito user pool, an AWS App Runner service, or an AWS Verified Access instance. Valid Values areCLOUDFRONTandREGIONAL.For
CLOUDFRONT, you must create your WAFv2 resources in the US East (N. Virginia) Region,us-east-1.- Specified by:
getScopein interfaceCfnRuleGroupMixinProps- See Also:
-
getTags
Description copied from interface:CfnRuleGroupMixinPropsKey:value pairs associated with an AWS resource.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.
- Specified by:
getTagsin interfaceCfnRuleGroupMixinProps- See Also:
-
getVisibilityConfig
Description copied from interface:CfnRuleGroupMixinPropsDefines and enables Amazon CloudWatch metrics and web request sample collection.Returns union: either
IResolvableorCfnRuleGroupPropsMixin.VisibilityConfigProperty- Specified by:
getVisibilityConfigin interfaceCfnRuleGroupMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-