Class: Aws::SecurityHub::Types::AwsWafv2VisibilityConfigDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_metrics_enabledBoolean

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

[1]: docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics

Returns:

  • (Boolean)


22239
22240
22241
22242
22243
22244
22245
# File 'lib/aws-sdk-securityhub/types.rb', line 22239

class AwsWafv2VisibilityConfigDetails < Struct.new(
  :cloud_watch_metrics_enabled,
  :metric_name,
  :sampled_requests_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

A name of the Amazon CloudWatch metric.

Returns:

  • (String)


22239
22240
22241
22242
22243
22244
22245
# File 'lib/aws-sdk-securityhub/types.rb', line 22239

class AwsWafv2VisibilityConfigDetails < Struct.new(
  :cloud_watch_metrics_enabled,
  :metric_name,
  :sampled_requests_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#sampled_requests_enabledBoolean

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

Returns:

  • (Boolean)


22239
22240
22241
22242
22243
22244
22245
# File 'lib/aws-sdk-securityhub/types.rb', line 22239

class AwsWafv2VisibilityConfigDetails < Struct.new(
  :cloud_watch_metrics_enabled,
  :metric_name,
  :sampled_requests_enabled)
  SENSITIVE = []
  include Aws::Structure
end