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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.MetadataConfigurationPropertystatic final classAn implementation forCfnBucket.MetadataConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJournalTableConfiguration
The journal table configuration for a metadata configuration.Returns union: either
IResolvableorCfnBucket.JournalTableConfigurationProperty- See Also:
-
getDestination
The destination information for the S3 Metadata configuration.Returns union: either
IResolvableorCfnBucket.MetadataDestinationProperty- See Also:
-
getInventoryTableConfiguration
The inventory table configuration for a metadata configuration.Returns union: either
IResolvableorCfnBucket.InventoryTableConfigurationProperty- See Also:
-
builder
-