Interface CfnBucketPropsMixin.MetricsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucketPropsMixin.MetricsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBucketPropsMixin
@Stability(Stable)
public static interface CfnBucketPropsMixin.MetricsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.s3.*;
MetricsConfigurationProperty metricsConfigurationProperty = MetricsConfigurationProperty.builder()
.accessPointArn("accessPointArn")
.id("id")
.prefix("prefix")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucketPropsMixin.MetricsConfigurationPropertystatic final classAn implementation forCfnBucketPropsMixin.MetricsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe access point that was used while performing operations on the object.default StringgetId()The ID used to identify the metrics configuration.default StringThe prefix that an object must have to be included in the metrics results.default ObjectSpecifies a list of tag filters to use as a metrics configuration filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPointArn
The access point that was used while performing operations on the object.The metrics configuration only includes objects that meet the filter's criteria.
- See Also:
-
getId
The ID used to identify the metrics configuration.This can be any value you choose that helps you identify your metrics configuration.
- See Also:
-
getPrefix
The prefix that an object must have to be included in the metrics results.- See Also:
-
getTagFilters
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBucketPropsMixin.TagFilterProperty>- See Also:
-
builder
-