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
}

The configuration information for the bucket.

Constant Summary collapse

SENSITIVE =
[]

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 is created in the US East (N. Virginia) Region (us-east-1).

Returns:

  • (String)


1531
1532
1533
1534
1535
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1531

class CreateBucketConfiguration < Struct.new(
  :location_constraint)
  SENSITIVE = []
  include Aws::Structure
end