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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateBucketConfiguration as input to an Aws::Client method, you can use a vanilla 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
}

Returned by:

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.

Possible values:

  • 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

Returns:

  • (String)

    Specifies the region where the bucket will be created.