interface DataExportProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.DataExportProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_DataExportProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.DataExportProperty |
Python | aws_cdk.aws_s3.CfnStorageLens.DataExportProperty |
TypeScript | aws-cdk-lib » aws_s3 » CfnStorageLens » DataExportProperty |
This resource contains the details of the Amazon S3 Storage Lens metrics export.
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';
declare const sses3: any;
const dataExportProperty: s3.CfnStorageLens.DataExportProperty = {
cloudWatchMetrics: {
isEnabled: false,
},
s3BucketDestination: {
accountId: 'accountId',
arn: 'arn',
format: 'format',
outputSchemaVersion: 'outputSchemaVersion',
// the properties below are optional
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
prefix: 'prefix',
},
storageLensTableDestination: {
isEnabled: false,
// the properties below are optional
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cloud | IResolvable | Cloud | This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics. |
| s3 | IResolvable | S3 | This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed. |
| storage | IResolvable | Storage | This property contains the details of the S3 table bucket where the S3 Storage Lens default metrics report will be placed. |
cloudWatchMetrics?
Type:
IResolvable | Cloud
(optional)
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination?
Type:
IResolvable | S3
(optional)
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
storageLensTableDestination?
Type:
IResolvable | Storage
(optional)
This property contains the details of the S3 table bucket where the S3 Storage Lens default metrics report will be placed.
This property enables you to store your Storage Lens metrics in read-only S3 Tables.

.NET
Go
Java
Python
TypeScript