Excel Add-In for Amazon S3

Build 26.0.9770

CreateBucket

Creates a new S3 bucket in the configured AWS region.

Stored Procedure-Specific Information

This procedure creates a bucket and is equivalent to an INSERT on the Buckets table. Set BucketRegion to create the bucket in a specific AWS region; when you omit it, the driver creates the bucket in the region resolved from the connection. You can also set the initial access with a canned ACL (the ACL input) or the individual grant inputs, control ownership with ObjectOwnership, and require a specific owner account with ExpectedBucketOwner.

The following example creates a bucket in a specific region:

EXECUTE CreateBucket
     @Bucket='NewBucketName',
     @BucketRegion='us-west-2'

Input

Name Type Required Description
Bucket String True The name of the new bucket.
BucketRegion String False The AWS region in which to create the bucket. Defaults to the region configured on the connection.
ACL String False A predefined (canned) ACL to apply to the bucket at creation time, such as private or public-read.
GrantFullControl String False Grants the specified grantee(s) full control over the bucket at creation time.
GrantRead String False Grants the specified grantee(s) permission to list the bucket's objects at creation time.
GrantReadAcp String False Grants the specified grantee(s) permission to read the bucket ACL at creation time.
GrantWrite String False Grants the specified grantee(s) permission to create objects in the bucket at creation time.
GrantWriteAcp String False Grants the specified grantee(s) permission to modify the bucket ACL at creation time.
ObjectOwnership String False Sets the object ownership setting for the bucket at creation time. One of BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced.
ExpectedBucketOwner String False The AWS account ID expected to own the bucket. The request fails if the actual owner does not match.

Result Set Columns

Name Type Description
Bucket String The name of the bucket created.
Status String Indicates the result of the operation, such as Success.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770