Class: Aws::S3::Types::CreateBucketConfiguration

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#location_constraintString

Specifies the region where the bucket will be created. If you don’t specify a region, the bucket will be created in US Standard.

Returns:

  • (String)


1221
1222
1223
1224
# File 'lib/aws-sdk-s3/types.rb', line 1221

class CreateBucketConfiguration < Struct.new(
  :location_constraint)
  include Aws::Structure
end