Class: Aws::S3::Types::CreateBucketConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::CreateBucketConfiguration
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass CreateBucketConfiguration data as a hash:
{
location_constraint: "EU", # accepts EU, eu-west-1, us-west-1, us-west-2, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1, cn-north-1, eu-central-1
}
Instance Attribute Summary collapse
-
#location_constraint ⇒ String
Specifies the region where the bucket will be created.
Instance Attribute Details
#location_constraint ⇒ String
Specifies the region where the bucket will be created. If you don’t specify a region, the bucket is created in US East (N. Virginia) Region (us-east-1).
1257 1258 1259 1260 |
# File 'lib/aws-sdk-s3/types.rb', line 1257 class CreateBucketConfiguration < Struct.new( :location_constraint) include Aws::Structure end |