Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

aws-cdk-lib

Version 2 of the AWS Cloud Development Kit library


AWS icon

AWS

1,906,428 Weekly downloads

Author Amazon Web Services

Published

Repository github.com

License Apache-2.0

Registry www.npmjs.com


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 .

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advanceddataprotectionmetrics.html

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,
};

Initializer

import { aws_s3 } from 'aws-cdk-lib'
const advancedDataProtectionMetricsProperty: aws_s3.CfnStorageLens.AdvancedDataProtectionMetricsProperty = { ... }

Properties

NameTypeDescription
isEnabledboolean | IResolvableIndicates whether advanced data protection metrics are enabled.
isEnabledOptional
public readonly isEnabled: boolean | IResolvable;

Indicates whether advanced data protection metrics are enabled.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advanceddataprotectionmetrics.html#cfn-s3-storagelens-advanceddataprotectionmetrics-isenabled