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
}
The configuration information for the bucket.
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 the US East (N. Virginia) Region (us-east-1).
1493 1494 1495 1496 |
# File 'lib/aws-sdk-s3/types.rb', line 1493 class CreateBucketConfiguration < Struct.new( :location_constraint) include Aws::Structure end |