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