Class: Aws::S3::Types::MetricsFilter

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

Overview

Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter’s criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator). For more information, see [PutBucketMetricsConfiguration].

[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_point_arnString

The access point ARN used when evaluating a metrics filter.

Returns:

  • (String)


11106
11107
11108
11109
11110
11111
11112
11113
# File 'lib/aws-sdk-s3/types.rb', line 11106

class MetricsFilter < Struct.new(
  :prefix,
  :tag,
  :access_point_arn,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#andTypes::MetricsAndOperator

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.



11106
11107
11108
11109
11110
11111
11112
11113
# File 'lib/aws-sdk-s3/types.rb', line 11106

class MetricsFilter < Struct.new(
  :prefix,
  :tag,
  :access_point_arn,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

The prefix used when evaluating a metrics filter.

Returns:

  • (String)


11106
11107
11108
11109
11110
11111
11112
11113
# File 'lib/aws-sdk-s3/types.rb', line 11106

class MetricsFilter < Struct.new(
  :prefix,
  :tag,
  :access_point_arn,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#tagTypes::Tag

The tag used when evaluating a metrics filter.

Returns:



11106
11107
11108
11109
11110
11111
11112
11113
# File 'lib/aws-sdk-s3/types.rb', line 11106

class MetricsFilter < Struct.new(
  :prefix,
  :tag,
  :access_point_arn,
  :and)
  SENSITIVE = []
  include Aws::Structure
end