

# StorageLensDataExport

The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. You must specify at least one destination.

## Contents
<a name="API_s3Buckets_StorageLensDataExport_Contents"></a>

 ** cloudWatchMetrics **   <a name="AmazonS3-Type-s3Buckets_StorageLensDataExport-cloudWatchMetrics"></a>
Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.  
Type: [StorageLensConfigurationItem](API_s3Buckets_StorageLensConfigurationItem.md) object  
Required: No

 ** s3BucketDestination **   <a name="AmazonS3-Type-s3Buckets_StorageLensDataExport-s3BucketDestination"></a>
The general purpose bucket that S3 Storage Lens exports metrics files to.  
Type: [S3BucketDestination](API_s3Buckets_S3BucketDestination.md) object  
Required: No

 ** storageLensTableDestination **   <a name="AmazonS3-Type-s3Buckets_StorageLensDataExport-storageLensTableDestination"></a>
Specifies whether S3 Storage Lens exports metrics to read-only tables in the AWS managed table bucket `aws-s3`.  
Type: [StorageLensTableDestination](API_s3Buckets_StorageLensTableDestination.md) object  
Required: No

## See Also
<a name="API_s3Buckets_StorageLensDataExport_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/s3tables-2018-05-10/StorageLensDataExport) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3tables-2018-05-10/StorageLensDataExport) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3tables-2018-05-10/StorageLensDataExport) 