@Stability(value=Stable) @Internal public static final class CfnWebACL.VisibilityConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.VisibilityConfigProperty
CfnWebACL.VisibilityConfigProperty
software.amazon.jsii.JsiiObject.InitializationMode
CfnWebACL.VisibilityConfigProperty.Builder, CfnWebACL.VisibilityConfigProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(CfnWebACL.VisibilityConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnWebACL.AWSManagedRulesATPRuleSetProperty.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) |
Object |
getCloudWatchMetricsEnabled()
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.
|
String |
getMetricName()
A name of the Amazon CloudWatch metric dimension.
|
Object |
getSampledRequestsEnabled()
A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(CfnWebACL.VisibilityConfigProperty.Builder builder)
CfnWebACL.AWSManagedRulesATPRuleSetProperty.Builder
.public final Object getCloudWatchMetricsEnabled()
CfnWebACL.VisibilityConfigProperty
For the list of available metrics, see AWS WAF Metrics in the AWS WAF Developer Guide .
For web ACLs, the metrics are for web requests that have the web ACL default action applied. AWS WAF applies the default action to web requests that pass the inspection of all rules in the web ACL without being either allowed or blocked. For more information, see The web ACL default action in the AWS WAF Developer Guide .
getCloudWatchMetricsEnabled
in interface CfnWebACL.VisibilityConfigProperty
public final String getMetricName()
CfnWebACL.VisibilityConfigProperty
The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names that are reserved for AWS WAF , for example All
and Default_Action
.
getMetricName
in interface CfnWebACL.VisibilityConfigProperty
public final Object getSampledRequestsEnabled()
CfnWebACL.VisibilityConfigProperty
You can view the sampled requests through the AWS WAF console.
getSampledRequestsEnabled
in interface CfnWebACL.VisibilityConfigProperty
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.