interface MetadataConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.S3.CfnBucketPropsMixin.MetadataConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awss3#CfnBucketPropsMixin_MetadataConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.MetadataConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_s3.CfnBucketPropsMixin.MetadataConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_s3 » CfnBucketPropsMixin » 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/cfn-property-mixins';
const metadataConfigurationProperty: s3.CfnBucketPropsMixin.MetadataConfigurationProperty = {
annotationTableConfiguration: {
configurationState: 'configurationState',
encryptionConfiguration: {
kmsKeyArn: 'kmsKeyArn',
sseAlgorithm: 'sseAlgorithm',
},
role: 'role',
tableArn: 'tableArn',
tableName: 'tableName',
},
destination: {
tableBucketArn: 'tableBucketArn',
tableBucketType: 'tableBucketType',
tableNamespace: 'tableNamespace',
},
inventoryTableConfiguration: {
configurationState: 'configurationState',
encryptionConfiguration: {
kmsKeyArn: 'kmsKeyArn',
sseAlgorithm: 'sseAlgorithm',
},
tableArn: 'tableArn',
tableName: 'tableName',
},
journalTableConfiguration: {
encryptionConfiguration: {
kmsKeyArn: 'kmsKeyArn',
sseAlgorithm: 'sseAlgorithm',
},
recordExpiration: {
days: 123,
expiration: 'expiration',
},
tableArn: 'tableArn',
tableName: 'tableName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| annotation | IResolvable | Annotation | The annotation table configuration for an S3 Metadata configuration. |
| destination? | IResolvable | Metadata | The destination information for the S3 Metadata configuration. |
| inventory | IResolvable | Inventory | The inventory table configuration for a metadata configuration. |
| journal | IResolvable | Journal | The journal table configuration for a metadata configuration. |
annotationTableConfiguration?
Type:
IResolvable | Annotation
(optional)
The annotation table configuration for an S3 Metadata configuration.
The annotation table tracks all annotations on objects in your bucket so that you can query annotation data at scale. If you've disabled your annotation table configuration and now want to re-enable it, you must first manually delete the old annotation table from your AWS managed table bucket. Otherwise, the newly re-enabled annotation table configuration will enter a failed state because the annotation table already exists in the table bucket.
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.
journalTableConfiguration?
Type:
IResolvable | Journal
(optional)
The journal table configuration for a metadata configuration.

.NET
Go
Java
Python
TypeScript