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)


22233
22234
22235
22236
22237
22238
22239
# File 'lib/aws-sdk-securityhub/types.rb', line 22233

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)


22233
22234
22235
22236
22237
22238
22239
# File 'lib/aws-sdk-securityhub/types.rb', line 22233

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)


22233
22234
22235
22236
22237
22238
22239
# File 'lib/aws-sdk-securityhub/types.rb', line 22233

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