You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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)


1099
1100
1101
1102
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1099

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