@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JA3Fingerprint extends Object implements Serializable, Cloneable, StructuredPojo
Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. WAF calculates and logs this fingerprint for each request that has enough TLS Client Hello information for the calculation. Almost all web requests include this information.
You can use this choice only with a string match ByteMatchStatement
with the
PositionalConstraint
set to EXACTLY
.
You can obtain the JA3 fingerprint for client requests from the web ACL logs. If WAF is able to calculate the fingerprint, it includes it in the logs. For information about the logging fields, see Log fields in the WAF Developer Guide.
Provide the JA3 fingerprint string from the logs in your string match statement specification, to match with any future requests that have the same TLS configuration.
Constructor and Description |
---|
JA3Fingerprint() |
Modifier and Type | Method and Description |
---|---|
JA3Fingerprint |
clone() |
boolean |
equals(Object obj) |
String |
getFallbackBehavior()
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFallbackBehavior(String fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
|
String |
toString()
Returns a string representation of this object.
|
JA3Fingerprint |
withFallbackBehavior(FallbackBehavior fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
|
JA3Fingerprint |
withFallbackBehavior(String fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
|
public void setFallbackBehavior(String fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
fallbackBehavior
- The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
FallbackBehavior
public String getFallbackBehavior()
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
FallbackBehavior
public JA3Fingerprint withFallbackBehavior(String fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
fallbackBehavior
- The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
FallbackBehavior
public JA3Fingerprint withFallbackBehavior(FallbackBehavior fallbackBehavior)
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
fallbackBehavior
- The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
FallbackBehavior
public String toString()
toString
in class Object
Object.toString()
public JA3Fingerprint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.