interface DetailedStatusCodesMetricsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnStorageLensPropsMixin_DetailedStatusCodesMetricsProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnStorageLensPropsMixin » 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 { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const detailedStatusCodesMetricsProperty: s3_mixins.CfnStorageLensPropsMixin.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
Go
Java
Python
TypeScript