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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_arn ⇒ String

The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.

This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 658

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

#bucket_region ⇒ String

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)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 658

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

#creation_date ⇒ Time

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

Returns:

  • (Time)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 658

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

#name ⇒ String

The name of the bucket.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 658

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