

# StorageLensTableDestination

Configures S3 Storage Lens to export metrics to read-only Apache Iceberg tables in the AWS managed table bucket `aws-s3` in your account. This stores your metrics in a structured, queryable table format.

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

 ** isEnabled **   <a name="AmazonS3-Type-s3Buckets_StorageLensTableDestination-isEnabled"></a>
Specifies whether the export to tables is enabled. When set to `true`, S3 Storage Lens exports metrics to tables in addition to any other destinations that you configure.  
Type: Boolean  
Required: Yes

 ** encryption **   <a name="AmazonS3-Type-s3Buckets_StorageLensTableDestination-encryption"></a>
The server-side encryption for the tables that S3 Storage Lens exports metrics to. To use SSE-KMS, set `sseAlgorithm` to `aws:kms` and specify `kmsKeyArn`. The KMS key must be in the same Region as the configuration. After S3 Storage Lens creates the tables, you can't change their encryption.  
Type: [EncryptionConfiguration](API_s3Buckets_EncryptionConfiguration.md) object  
Required: No

## See Also
<a name="API_s3Buckets_StorageLensTableDestination_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/StorageLensTableDestination) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3tables-2018-05-10/StorageLensTableDestination) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3tables-2018-05-10/StorageLensTableDestination) 