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. An Amazon S3 bucket name is globally unique, and the namespace is shared by all Amazon Web Services accounts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#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)


467
468
469
470
471
472
# File 'lib/aws-sdk-s3/types.rb', line 467

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

#nameString

The name of the bucket.

Returns:

  • (String)


467
468
469
470
471
472
# File 'lib/aws-sdk-s3/types.rb', line 467

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