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 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 'gems/aws-sdk-s3/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 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 467

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