This API operation creates an Amazon S3 on Outposts bucket. To create an S3 bucket, see Create Bucket in the Amazon Simple Storage Service API.
Creates a new Outposts bucket. By creating the bucket, you become the bucket owner. To create an Outposts bucket, you must have S3 on Outposts. For more information, see Using Amazon S3 on Outposts in Amazon Simple Storage Service Developer Guide.
Not every string is an acceptable bucket name. For information on bucket naming restrictions, see Working with Amazon S3 Buckets.
S3 on Outposts buckets do not support
ACLs. Instead, configure access point policies to manage access to buckets.
Public access.
Object Lock
Bucket Location constraint
For an example of the request syntax for Amazon S3 on Outposts that uses
the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id
in
your API request, see the
Examples
section.
The following actions are related to
create_bucket
for Amazon S3 on Outposts:
s3control_create_bucket(ACL, Bucket, CreateBucketConfiguration,
GrantFullControl, GrantRead, GrantReadACP, GrantWrite, GrantWriteACP,
ObjectLockEnabledForBucket, OutpostId)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
[required] The name of the bucket.
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
This is not supported by Amazon S3 on Outposts buckets.
Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
The ID of the Outposts where the bucket is being created.
This is required by Amazon S3 on Outposts buckets.
A list with the following syntax:
list( Location = "string", BucketArn = "string" )
svc$create_bucket( ACL = "private"|"public-read"|"public-read-write"|"authenticated-read", Bucket = "string", CreateBucketConfiguration = list( LocationConstraint = "EU"|"eu-west-1"|"us-west-1"|"us-west-2"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"|"cn-north-1"|"eu-central-1" ), GrantFullControl = "string", GrantRead = "string", GrantReadACP = "string", GrantWrite = "string", GrantWriteACP = "string", ObjectLockEnabledForBucket = TRUE|FALSE, OutpostId = "string" )