createStorageLocation
inline suspend fun ElasticBeanstalkClient.createStorageLocation(crossinline block: CreateStorageLocationRequest.Builder.() -> Unit): CreateStorageLocationResponse
Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation
still returns the bucket name but does not create a new bucket.
Samples
fun main() {
//sampleStart
// The following operation creates a new environment for version v1 of a java application named my app
val resp = elasticBeanstalkClient.createStorageLocation()
//sampleEnd
}