S3DocumentStoreConfig

@Configuration
@Import(value = [StorageClientConfig::class])
class S3DocumentStoreConfig(@Value(value = "${document.store.bucket-name}") val bucket: String, @Value(value = "${storage.region}") val region: String) : ApplicationListener<ContextRefreshedEvent>

Constructors

Link copied to clipboard
constructor(@Value(value = "${document.store.bucket-name}") bucket: String, @Value(value = "${storage.region}") region: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun onApplicationEvent(event: ContextRefreshedEvent)
Link copied to clipboard
@Bean(name = ["documentStoreS3DocumentStoreClient"])
fun s3DocumentStoreClient(s3StorageClient: AmazonS3Client): DocumentStoreClient
Link copied to clipboard
@Bean(name = ["documentStoreS3GetPreSignedDocumentUrlProvider"])
fun s3GetPreSignedDocumentUrlProvider(@Value(value = "${document.store.bucket-name}") bucket: String, documentStoreClient: DocumentStoreClient): GetPreSignedDocumentUrlProvider
Link copied to clipboard
@Bean(name = ["documentStoreS3PutDocumentProvider"])
fun s3PutDocumentProvider(@Value(value = "${document.store.bucket-name}") bucket: String, documentStoreClient: DocumentStoreClient): PutDocumentProvider
Link copied to clipboard