WebAclRuleVisibilityConfigArgs

data class WebAclRuleVisibilityConfigArgs(val cloudwatchMetricsEnabled: Output<Boolean>, val metricName: Output<String>, val sampledRequestsEnabled: Output<Boolean>) : ConvertibleToJava<WebAclRuleVisibilityConfigArgs>

Constructors

Link copied to clipboard
constructor(cloudwatchMetricsEnabled: Output<Boolean>, metricName: Output<String>, sampledRequestsEnabled: Output<Boolean>)

Properties

Link copied to clipboard

Whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see AWS WAF Metrics.

Link copied to clipboard
val metricName: Output<String>

A friendly name of the CloudWatch metric. The name can contain only alphanumeric characters (A-Z, a-z, 0-9) hyphen(-) and underscore (\_), with length from one to 128 characters. It can't contain whitespace or metric names reserved for AWS WAF, for example All and Default_Action.

Link copied to clipboard

Whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console.

Functions

Link copied to clipboard
open override fun toJava(): WebAclRuleVisibilityConfigArgs