S3ImageStoreConfig

@Configuration
class S3ImageStoreConfig(@Value(value = "${image.store.bucket-name}") val bucket: String, @Value(value = "${storage.region}") val region: String) : ApplicationListener<ContextRefreshedEvent>

Constructors

Link copied to clipboard
constructor(@Value(value = "${image.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 = ["imageStoreS3RemoveImageProvider"])
fun s3DeleteImageProvider(@Value(value = "${image.store.bucket-name}") bucket: String, imageStoreClient: ImageStoreClient): RemoveImageProvider
Link copied to clipboard
@Bean(name = ["imageStoreS3GetPreSignedImageUrlProvider"])
fun s3GetPreSignedImageUrlProvider(@Value(value = "${image.store.bucket-name}") bucket: String, imageStoreClient: ImageStoreClient): GetPreSignedImageUrlProvider
Link copied to clipboard
@Bean(name = ["imageStoreS3ImageStoreClient"])
fun s3ImageStoreClient(s3StorageClient: AmazonS3Client): ImageStoreClient
Link copied to clipboard
@Bean(name = ["imageStoreS3PutImageProvider"])
fun s3PutImageProvider(@Value(value = "${image.store.bucket-name}") bucket: String, imageStoreClient: ImageStoreClient): PutImageProvider
Link copied to clipboard