s3_create_bucket: Creates a new S3 bucket

View source: R/s3_operations.R

s3_create_bucketR Documentation

Creates a new S3 bucket

Description

Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to create buckets. By creating the bucket, you become the bucket owner.

See https://www.paws-r-sdk.com/docs/s3_create_bucket/ for full documentation.

Usage

s3_create_bucket(
  ACL = NULL,
  Bucket,
  CreateBucketConfiguration = NULL,
  GrantFullControl = NULL,
  GrantRead = NULL,
  GrantReadACP = NULL,
  GrantWrite = NULL,
  GrantWriteACP = NULL,
  ObjectLockEnabledForBucket = NULL,
  ObjectOwnership = NULL
)

Arguments

ACL

The canned ACL to apply to the bucket.

Bucket

[required] The name of the bucket to create.

CreateBucketConfiguration

The configuration information for the bucket.

GrantFullControl

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

GrantRead

Allows grantee to list the objects in the bucket.

GrantReadACP

Allows grantee to read the bucket ACL.

GrantWrite

Allows grantee to create new objects in the bucket.

For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.

GrantWriteACP

Allows grantee to write the ACL for the applicable bucket.

ObjectLockEnabledForBucket

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

ObjectOwnership

paws.storage documentation built on Sept. 12, 2023, 1:23 a.m.