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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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.

Returns:

  • (Boolean)


21287
21288
21289
21290
21291
21292
21293
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21287

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)


21287
21288
21289
21290
21291
21292
21293
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21287

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)


21287
21288
21289
21290
21291
21292
21293
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21287

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