Interface CfnStorageLens.IDetailedStatusCodesMetricsProperty
This resource enables Amazon S3 Storage Lens detailed status code metrics.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDetailedStatusCodesMetricsProperty
Syntax (vb)
Public Interface IDetailedStatusCodesMetricsProperty
Remarks
Detailed status code metrics generate metrics for HTTP status codes, such as 200 OK
, 403 Forbidden
, 503 Service Unavailable
and others.
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 detailedStatusCodesMetricsProperty = new DetailedStatusCodesMetricsProperty {
IsEnabled = false
};
Synopsis
Properties
IsEnabled | Indicates whether detailed status code metrics are enabled. |
Properties
IsEnabled
Indicates whether detailed status code metrics are enabled.
virtual object IsEnabled { get; }
Property Value
System.Object