AwsWafv2VisibilityConfigDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsWafv2VisibilityConfigDetails

Defines and enables Amazon CloudWatch metrics and web request sample collection.

Contents

CloudWatchMetricsEnabled

A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see Amazon WAF metrics and dimensions in the Amazon WAF Developer Guide.

Type: Boolean

Required: No

MetricName

A name of the Amazon CloudWatch metric.

Type: String

Pattern: .*\S.*

Required: No

SampledRequestsEnabled

A boolean indicating whether Amazon WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the Amazon WAF console.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: