AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateStorageLocationAsync.
Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public virtual CreateStorageLocationResponse CreateStorageLocation()
Exception | Condition |
---|---|
InsufficientPrivilegesException | The specified account does not have sufficient privileges for one or more AWS services. |
S3SubscriptionRequiredException | The specified account does not have a subscription to Amazon S3. |
TooManyBucketsException | The specified account has reached its limit of Amazon S3 buckets. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5