interface MetadataTableConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.CfnBucket.MetadataTableConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_MetadataTableConfigurationProperty |
![]() | software.amazon.awscdk.services.s3.CfnBucket.MetadataTableConfigurationProperty |
![]() | aws_cdk.aws_s3.CfnBucket.MetadataTableConfigurationProperty |
![]() | aws-cdk-lib » aws_s3 » CfnBucket » MetadataTableConfigurationProperty |
We recommend that you create your S3 Metadata configurations by using the V2 MetadataConfiguration resource type. We no longer recommend using the V1
MetadataTableConfiguration
resource type. > > If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete and re-create your configuration by using the MetadataConfiguration resource type so that you can expire journal table records and create a live inventory table.
Creates a V1 S3 Metadata configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata 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 metadataTableConfigurationProperty: s3.CfnBucket.MetadataTableConfigurationProperty = {
s3TablesDestination: {
tableBucketArn: 'tableBucketArn',
tableName: 'tableName',
// the properties below are optional
tableArn: 'tableArn',
tableNamespace: 'tableNamespace',
},
};
Properties
Name | Type | Description |
---|---|---|
s3 | IResolvable | S3 | The destination information for the metadata table configuration. |
s3TablesDestination
Type:
IResolvable
|
S3
The destination information for the metadata table configuration.
The destination table bucket must be in the same Region and AWS account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.