Class CfnRuleGroup.RateBasedStatementCustomKeyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleGroup.RateBasedStatementCustomKeyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRuleGroup.RateBasedStatementCustomKeyProperty
CfnRuleGroup.RateBasedStatementCustomKeyProperty-
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.services.wafv2.CfnRuleGroup.RateBasedStatementCustomKeyProperty
CfnRuleGroup.RateBasedStatementCustomKeyProperty.Builder, CfnRuleGroup.RateBasedStatementCustomKeyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRuleGroup.RateBasedStatementCustomKeyProperty.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 ObjectgetAsn()Use an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key.final ObjectUse the value of a cookie in the request as an aggregate key.final ObjectUse the first IP address in an HTTP header as an aggregate key.final ObjectUse the value of a header in the request as an aggregate key.final ObjectUse the request's HTTP method as an aggregate key.final ObjectgetIp()Use the request's originating IP address as an aggregate key.final ObjectUse the request's JA3 fingerprint as an aggregate key.final ObjectUse the request's JA4 fingerprint as an aggregate key.final ObjectUse the specified label namespace as an aggregate key.final ObjectUse the specified query argument as an aggregate key.final ObjectUse the request's query string as an aggregate key.final ObjectUse the request's URI path as an aggregate key.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 theCfnRuleGroup.RateBasedStatementCustomKeyProperty.Builder.
-
-
Method Details
-
getAsn
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key.Each distinct ASN contributes to the aggregation instance.
- Specified by:
getAsnin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getCookie
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the value of a cookie in the request as an aggregate key.Each distinct value in the cookie contributes to the aggregation instance. If you use a single cookie as your custom key, then each value fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitCookieProperty- Specified by:
getCookiein interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getForwardedIp
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the first IP address in an HTTP header as an aggregate key.Each distinct forwarded IP address contributes to the aggregation instance.
When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the forwarded IP address by specifying
FORWARDED_IPin your rate-based statement'sAggregateKeyType.With this option, you must specify the header to use in the rate-based rule's
ForwardedIPConfigproperty.- Specified by:
getForwardedIpin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getHeader
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the value of a header in the request as an aggregate key.Each distinct value in the header contributes to the aggregation instance. If you use a single header as your custom key, then each value fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitHeaderProperty- Specified by:
getHeaderin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getHttpMethod
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's HTTP method as an aggregate key.Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method as your custom key, then each method fully defines an aggregation instance.
- Specified by:
getHttpMethodin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getIp
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's originating IP address as an aggregate key. Each distinct IP address contributes to the aggregation instance.When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the IP address by specifying
IPin your rate-based statement'sAggregateKeyType.- Specified by:
getIpin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getJa3Fingerprint
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's JA3 fingerprint as an aggregate key.If you use a single JA3 fingerprint as your custom key, then each value fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitJA3FingerprintProperty- Specified by:
getJa3Fingerprintin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getJa4Fingerprint
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's JA4 fingerprint as an aggregate key.If you use a single JA4 fingerprint as your custom key, then each value fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitJA4FingerprintProperty- Specified by:
getJa4Fingerprintin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getLabelNamespace
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the specified label namespace as an aggregate key.Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
For information about label namespaces and names, see Label syntax and naming requirements in the AWS WAF Developer Guide .
Returns union: either
IResolvableorCfnRuleGroup.RateLimitLabelNamespaceProperty- Specified by:
getLabelNamespacein interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getQueryArgument
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the specified query argument as an aggregate key.Each distinct value for the named query argument contributes to the aggregation instance. If you use a single query argument as your custom key, then each value fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitQueryArgumentProperty- Specified by:
getQueryArgumentin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getQueryString
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's query string as an aggregate key.Each distinct string contributes to the aggregation instance. If you use just the query string as your custom key, then each string fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitQueryStringProperty- Specified by:
getQueryStringin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- See Also:
-
getUriPath
Description copied from interface:CfnRuleGroup.RateBasedStatementCustomKeyPropertyUse the request's URI path as an aggregate key.Each distinct URI path contributes to the aggregation instance. If you use just the URI path as your custom key, then each URI path fully defines an aggregation instance.
Returns union: either
IResolvableorCfnRuleGroup.RateLimitUriPathProperty- Specified by:
getUriPathin interfaceCfnRuleGroup.RateBasedStatementCustomKeyProperty- 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()
-