interface MetadataConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.MetadataConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_MetadataConfigurationProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.MetadataConfigurationProperty |
Python | aws_cdk.aws_s3.CfnBucket.MetadataConfigurationProperty |
TypeScript | aws-cdk-lib » aws_s3 » CfnBucket » MetadataConfigurationProperty |
Creates a V2 Amazon S3 Metadata configuration of 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 metadataConfigurationProperty: s3.CfnBucket.MetadataConfigurationProperty = {
journalTableConfiguration: {
recordExpiration: {
expiration: 'expiration',
// the properties below are optional
days: 123,
},
// the properties below are optional
encryptionConfiguration: {
sseAlgorithm: 'sseAlgorithm',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
tableArn: 'tableArn',
tableName: 'tableName',
},
// the properties below are optional
destination: {
tableBucketType: 'tableBucketType',
// the properties below are optional
tableBucketArn: 'tableBucketArn',
tableNamespace: 'tableNamespace',
},
inventoryTableConfiguration: {
configurationState: 'configurationState',
// the properties below are optional
encryptionConfiguration: {
sseAlgorithm: 'sseAlgorithm',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
tableArn: 'tableArn',
tableName: 'tableName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| journal | IResolvable | Journal | The journal table configuration for a metadata configuration. |
| destination? | IResolvable | Metadata | The destination information for the S3 Metadata configuration. |
| inventory | IResolvable | Inventory | The inventory table configuration for a metadata configuration. |
journalTableConfiguration
Type:
IResolvable | Journal
The journal table configuration for a metadata configuration.
destination?
Type:
IResolvable | Metadata
(optional)
The destination information for the S3 Metadata configuration.
inventoryTableConfiguration?
Type:
IResolvable | Inventory
(optional)
The inventory table configuration for a metadata configuration.

.NET
Go
Java
Python
TypeScript