/
CfnStorageLens_DetailedStatusCodesMetricsProperty.go
27 lines (24 loc) · 1.46 KB
/
CfnStorageLens_DetailedStatusCodesMetricsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package awss3
// 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](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the *Amazon S3 User Guide* . For a complete list of metrics, see [S3 Storage Lens metrics glossary](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) 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 "github.com/aws/aws-cdk-go/awscdk"
//
// detailedStatusCodesMetricsProperty := &DetailedStatusCodesMetricsProperty{
// IsEnabled: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-detailedstatuscodesmetrics.html
//
type CfnStorageLens_DetailedStatusCodesMetricsProperty struct {
// Indicates whether detailed status code metrics are enabled.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-detailedstatuscodesmetrics.html#cfn-s3-storagelens-detailedstatuscodesmetrics-isenabled
//
IsEnabled interface{} `field:"optional" json:"isEnabled" yaml:"isEnabled"`
}