Class: AWSCDK::WAFv2::CfnWebACL::RateLimitJA3FingerprintProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::RateLimitJA3FingerprintProperty
- Defined in:
- wa_fv2/cfn_web_acl.rb
Overview
Use the request's JA3 fingerprint derived from the TLS Client Hello of an incoming request as an aggregate key.
If you use a single JA3 fingerprint as your custom key, then each value fully defines an aggregation instance.
Instance Attribute Summary collapse
-
#fallback_behavior ⇒ String
readonly
The match status to assign to the web request if there is insufficient TSL Client Hello information to compute the JA3 fingerprint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fallback_behavior:) ⇒ RateLimitJA3FingerprintProperty
constructor
A new instance of RateLimitJA3FingerprintProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fallback_behavior:) ⇒ RateLimitJA3FingerprintProperty
Returns a new instance of RateLimitJA3FingerprintProperty.
4517 4518 4519 4520 |
# File 'wa_fv2/cfn_web_acl.rb', line 4517 def initialize(fallback_behavior:) @fallback_behavior = fallback_behavior Jsii::Type.check_type(@fallback_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fallbackBehavior") end |
Instance Attribute Details
#fallback_behavior ⇒ String (readonly)
The match status to assign to the web request if there is insufficient TSL Client Hello information to compute the JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH- Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.NO_MATCH- Treat the web request as not matching the rule statement.
4531 4532 4533 |
# File 'wa_fv2/cfn_web_acl.rb', line 4531 def fallback_behavior @fallback_behavior end |
Class Method Details
.jsii_properties ⇒ Object
4533 4534 4535 4536 4537 |
# File 'wa_fv2/cfn_web_acl.rb', line 4533 def self.jsii_properties { :fallback_behavior => "fallbackBehavior", } end |
Instance Method Details
#to_jsii ⇒ Object
4539 4540 4541 4542 4543 4544 4545 |
# File 'wa_fv2/cfn_web_acl.rb', line 4539 def to_jsii result = {} result.merge!({ "fallbackBehavior" => @fallback_behavior, }) result.compact end |