Interface CfnBucket.MetadataConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.MetadataConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.MetadataConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.s3.*;
 MetadataConfigurationProperty metadataConfigurationProperty = MetadataConfigurationProperty.builder()
         .journalTableConfiguration(JournalTableConfigurationProperty.builder()
                 .recordExpiration(RecordExpirationProperty.builder()
                         .expiration("expiration")
                         // the properties below are optional
                         .days(123)
                         .build())
                 // the properties below are optional
                 .encryptionConfiguration(MetadataTableEncryptionConfigurationProperty.builder()
                         .sseAlgorithm("sseAlgorithm")
                         // the properties below are optional
                         .kmsKeyArn("kmsKeyArn")
                         .build())
                 .tableArn("tableArn")
                 .tableName("tableName")
                 .build())
         // the properties below are optional
         .destination(MetadataDestinationProperty.builder()
                 .tableBucketType("tableBucketType")
                 // the properties below are optional
                 .tableBucketArn("tableBucketArn")
                 .tableNamespace("tableNamespace")
                 .build())
         .inventoryTableConfiguration(InventoryTableConfigurationProperty.builder()
                 .configurationState("configurationState")
                 // the properties below are optional
                 .encryptionConfiguration(MetadataTableEncryptionConfigurationProperty.builder()
                         .sseAlgorithm("sseAlgorithm")
                         // the properties below are optional
                         .kmsKeyArn("kmsKeyArn")
                         .build())
                 .tableArn("tableArn")
                 .tableName("tableName")
                 .build())
         .build();
 

See Also: