Interface CfnBucket.MetadataConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.MetadataConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
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
.annotationTableConfiguration(AnnotationTableConfigurationProperty.builder()
.configurationState("configurationState")
// the properties below are optional
.encryptionConfiguration(MetadataTableEncryptionConfigurationProperty.builder()
.sseAlgorithm("sseAlgorithm")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.role("role")
.tableArn("tableArn")
.tableName("tableName")
.build())
.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
Modifier and TypeMethodDescriptionbuilder()default ObjectThe annotation table configuration for an S3 Metadata configuration.default ObjectThe destination information for the S3 Metadata configuration.default ObjectThe inventory table configuration for a metadata configuration.The journal table configuration for a metadata configuration.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:
-
getAnnotationTableConfiguration
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.
Returns union: either
IResolvableorCfnBucket.AnnotationTableConfigurationProperty- 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
-