Class CfnStorageLens.ActivityMetricsProperty
This resource enables Amazon S3 Storage Lens activity metrics.
Inheritance
System.Object
CfnStorageLens.ActivityMetricsProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ActivityMetricsProperty : Object, CfnStorageLens.IActivityMetricsProperty
Syntax (vb)
Public Class ActivityMetricsProperty
Inherits Object
Implements CfnStorageLens.IActivityMetricsProperty
Remarks
Activity metrics show details about how your storage is requested, such as requests (for example, All requests, Get requests, Put requests), bytes uploaded or downloaded, and errors.
For more information, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide . For a complete list of metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var activityMetricsProperty = new ActivityMetricsProperty {
IsEnabled = false
};
Synopsis
Constructors
ActivityMetricsProperty() |
Properties
IsEnabled | A property that indicates whether the activity metrics is enabled. |
Constructors
ActivityMetricsProperty()
public ActivityMetricsProperty()
Properties
IsEnabled
A property that indicates whether the activity metrics is enabled.
public object IsEnabled { get; set; }
Property Value
System.Object