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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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 AWS accounts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

Date the bucket was created.

Returns:

  • (Time)


457
458
459
460
461
462
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 457

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

#nameString

The name of the bucket.

Returns:

  • (String)


457
458
459
460
461
462
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 457

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