aws-cdk-lib
Version 2 of the AWS Cloud Development Kit library
npm install aws-cdk-lib@2.195.0
AdvancedDataProtectionMetricsProperty
This resource enables Amazon S3 Storage Lens advanced data protection metrics.
Advanced data protection metrics provide insights that you can use to perform audits and protect your data, for example replication rule counts within and across Regions.
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-lib';const advancedDataProtectionMetricsProperty: s3.CfnStorageLens.AdvancedDataProtectionMetricsProperty = {isEnabled: false,};
import { aws_s3 } from 'aws-cdk-lib'const advancedDataProtectionMetricsProperty: aws_s3.CfnStorageLens.AdvancedDataProtectionMetricsProperty = { ... }
Name | Type | Description |
---|---|---|
isEnabled | boolean | IResolvable | Indicates whether advanced data protection metrics are enabled. |
public readonly isEnabled: boolean | IResolvable;
- Type: boolean | IResolvable
Indicates whether advanced data protection metrics are enabled.
Use the snippets below in your Git repositories or elsewhere to add a button that links to this package. The button will automatically update to light mode or dark mode based on whether the user's client has requested a light or dark theme.
[](https://construct-hub-testing.dev-tools.aws.dev/packages/aws-cdk-lib)
<a href="https://construct-hub-testing.dev-tools.aws.dev/packages/aws-cdk-lib"><img src="https://construct-hub-testing.dev-tools.aws.dev/badge?package=aws-cdk-lib" alt="View on Construct Hub"/></a>