interface DetailedStatusCodesMetricsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.DetailedStatusCodesMetricsProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.DetailedStatusCodesMetricsProperty |
Python | aws_cdk.aws_s3.CfnStorageLens.DetailedStatusCodesMetricsProperty |
TypeScript | @aws-cdk/aws-s3 » CfnStorageLens » DetailedStatusCodesMetricsProperty |
This resource enables Amazon S3 Storage Lens detailed status code metrics.
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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
const detailedStatusCodesMetricsProperty: s3.CfnStorageLens.DetailedStatusCodesMetricsProperty = {
isEnabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| is | boolean | IResolvable | Indicates whether detailed status code metrics are enabled. |
isEnabled?
Type:
boolean | IResolvable
(optional)
Indicates whether detailed status code metrics are enabled.

.NET
Java
Python
TypeScript