BucketMetricsConfigurationArgs

data class BucketMetricsConfigurationArgs(val accessPointArn: Output<String>? = null, val id: Output<String>, val prefix: Output<String>? = null, val tagFilters: Output<List<BucketTagFilterArgs>>? = null) : ConvertibleToJava<BucketMetricsConfigurationArgs>

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For examples, see AWS::S3::Bucket. For more information, see PUT Bucket metrics in the Amazon S3 API Reference.

Constructors

Link copied to clipboard
constructor(accessPointArn: Output<String>? = null, id: Output<String>, prefix: Output<String>? = null, tagFilters: Output<List<BucketTagFilterArgs>>? = null)

Properties

Link copied to clipboard
val accessPointArn: Output<String>? = null

The access point that was used while performing operations on the object. The metrics configuration only includes objects that meet the filter's criteria.

Link copied to clipboard
val id: Output<String>

The ID used to identify the metrics configuration. This can be any value you choose that helps you identify your metrics configuration.

Link copied to clipboard
val prefix: Output<String>? = null

The prefix that an object must have to be included in the metrics results.

Link copied to clipboard
val tagFilters: Output<List<BucketTagFilterArgs>>? = null

Specifies a list of tag filters to use as a metrics configuration filter. The metrics configuration includes only objects that meet the filter's criteria.

Functions

Link copied to clipboard
open override fun toJava(): BucketMetricsConfigurationArgs