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

Class: Aws::S3Control::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
}

The container for the bucket configuration.

This is not supported by Amazon S3 on Outposts buckets.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#location_constraintString

Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.

This is not supported by Amazon S3 on Outposts buckets.

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.