class Aws::S3::Types::CreateBucketRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest AWS API Documentation
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html<br><br><br><br></note>
Ownership.
buckets use the bucket owner enforced setting for S3 Object
<note markdown=“1”> This functionality is not supported for directory buckets. Directory<br><br>bucket] in the *Amazon S3 User Guide*.
[Controlling ownership of objects and disabling ACLs for your
individually. For more information about S3 Object Ownership, see
uncommon use cases where you must control access for each object
ACLs are disabled. We recommend keeping ACLs disabled, except in
By default, ‘ObjectOwnership` is set to `BucketOwnerEnforced` and
that grants the same permissions).
`bucket-owner-full-control` canned ACL or a custom ACL in XML format
bucket owner full control ACLs (such as the predefined
only accepts PUT requests that don’t specify an ACL or specify
and has full control over every object in the bucket. The bucket
no longer affect permissions. The bucket owner automatically owns
`BucketOwnerEnforced` - Access control lists (ACLs) are disabled and
object is uploaded with the ‘bucket-owner-full-control` canned ACL.
`ObjectWriter` - The uploading account will own the object if the
`bucket-owner-full-control` canned ACL.
ownership to the bucket owner if the objects are uploaded with the
`BucketOwnerPreferred` - Objects uploaded to the bucket change
controls.
The container element for object ownership for a bucket’s ownership
@!attribute [rw] object_ownership
@return [Boolean]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
bucket.
Specifies whether you want S3 Object Lock to be enabled for the new
@!attribute [rw] object_lock_enabled_for_bucket
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
Allows grantee to write the ACL for the applicable bucket.
@!attribute [rw] grant_write_acp
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
deletions and overwrites of those objects.
For the bucket and object owners of existing objects, also allows
Allows grantee to create new objects in the bucket.
@!attribute [rw] grant_write
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
Allows grantee to read the bucket ACL.
@!attribute [rw] grant_read_acp
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
Allows grantee to list the objects in the bucket.
@!attribute [rw] grant_read
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
on the bucket.
Allows grantee the read, write, read ACP, and write ACP permissions
@!attribute [rw] grant_full_control
@return [Types::CreateBucketConfiguration]
The configuration information for the bucket.
@!attribute [rw] create_bucket_configuration
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html<br>[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html<br><br><br><br>*Amazon S3 User Guide*
naming restrictions, see [Directory bucket naming rules] in the
DOC-EXAMPLE-BUCKET–usw2-az1–x-s3`). For information about bucket
bucket-base-name–zone-id–x-s3` (for example, ‘
Zone). Bucket names must also follow the format `
names must be unique in the chosen Zone (Availability Zone or Local
Virtual-hosted-style requests aren’t supported. Directory bucket
`s3express-control.region-code.amazonaws.com/bucket-name ‘.
directory bucket, you must use path-style requests in the format
Directory buckets - When you use this operation with a
Guide*.
restrictions, see [Bucket naming rules] in the *Amazon S3 User
**General purpose buckets** - For information about bucket naming
The name of the bucket to create.
@!attribute [rw] bucket
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
The canned ACL to apply to the bucket.
@!attribute [rw] acl