interface AdvancedCostOptimizationMetricsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.AdvancedCostOptimizationMetricsProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.AdvancedCostOptimizationMetricsProperty |
Python | aws_cdk.aws_s3.CfnStorageLens.AdvancedCostOptimizationMetricsProperty |
TypeScript | @aws-cdk/aws-s3 » CfnStorageLens » AdvancedCostOptimizationMetricsProperty |
This resource enables Amazon S3 Storage Lens advanced cost optimization metrics.
Advanced cost optimization metrics provide insights that you can use to manage and optimize your storage costs, for example, lifecycle rule counts for transitions, expirations, and incomplete multipart uploads.
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 advancedCostOptimizationMetricsProperty: s3.CfnStorageLens.AdvancedCostOptimizationMetricsProperty = {
isEnabled: false,
};
Properties
Name | Type | Description |
---|---|---|
is | boolean | IResolvable | Indicates whether advanced cost optimization metrics are enabled. |
isEnabled?
Type:
boolean |
IResolvable
(optional)
Indicates whether advanced cost optimization metrics are enabled.