Class: Aws::S3::Types::Bucket

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

In terms of implementation, a Bucket is a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_regionString

‘BucketRegion` indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.

Returns:

  • (String)


355
356
357
358
359
360
361
# File 'lib/aws-sdk-s3/types.rb', line 355

class Bucket < Struct.new(
  :name,
  :creation_date,
  :bucket_region)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

Returns:

  • (Time)


355
356
357
358
359
360
361
# File 'lib/aws-sdk-s3/types.rb', line 355

class Bucket < Struct.new(
  :name,
  :creation_date,
  :bucket_region)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the bucket.

Returns:

  • (String)


355
356
357
358
359
360
361
# File 'lib/aws-sdk-s3/types.rb', line 355

class Bucket < Struct.new(
  :name,
  :creation_date,
  :bucket_region)
  SENSITIVE = []
  include Aws::Structure
end