StorageClientConfig

@Configuration
class StorageClientConfig(@Value(value = "${storage.url}") val url: String, @Value(value = "${storage.access-key}") val accessKey: String, @Value(value = "${storage.secret-key}") val secretKey: String, @Value(value = "${storage.region}") val region: String)

Constructors

Link copied to clipboard
constructor(@Value(value = "${storage.url}") url: String, @Value(value = "${storage.access-key}") accessKey: String, @Value(value = "${storage.secret-key}") secretKey: String, @Value(value = "${storage.region}") region: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String

Functions

Link copied to clipboard
@Profile(value = ["!prd"])
@Bean
fun localS3StorageClient(): AmazonS3Client
Link copied to clipboard
@Profile(value = ["prd"])
@Bean
fun prdS3StorageClient(): AmazonS3Client