Class: Aws::S3::Types::LocationInfo

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

Overview

Specifies the location where the bucket will be created.

For directory buckets, the location type is Availability Zone. For more information about directory buckets, see [Directory buckets] in the *Amazon S3 User Guide*.

<note markdown=“1”> This functionality is only supported by directory buckets.

</note>

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the location where the bucket will be created.

For directory buckets, the AZ ID of the Availability Zone where the bucket will be created. An example AZ ID value is ‘usw2-az2`.

Returns:

  • (String)


10866
10867
10868
10869
10870
10871
# File 'lib/aws-sdk-s3/types.rb', line 10866

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

#typeString

The type of location where the bucket will be created.

Returns:

  • (String)


10866
10867
10868
10869
10870
10871
# File 'lib/aws-sdk-s3/types.rb', line 10866

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