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)


22229
22230
22231
22232
22233
22234
22235
# File 'lib/aws-sdk-securityhub/types.rb', line 22229

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)


22229
22230
22231
22232
22233
22234
22235
# File 'lib/aws-sdk-securityhub/types.rb', line 22229

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)


22229
22230
22231
22232
22233
22234
22235
# File 'lib/aws-sdk-securityhub/types.rb', line 22229

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