s3_create_bucket: s3_create_bucket

Description Usage Arguments See Also

View source: R/s3_create_bucket.R

Description

S3.Client.create_bucket

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
response = client.create_bucket(
  ACL='private'|'public-read'|'public-read-write'|'authenticated-read',
  bucket='string',
  CreatebucketConfiguration={
    'LocationConstraint': 'af-south-1'|'ap-east-1'|'ap-northeast-1'|'ap-northeast-2'|'ap-northeast-3'|'ap-south-1'|'ap-southeast-1'|'ap-southeast-2'|'ca-central-1'|'cn-north-1'|'cn-northwest-1'|'EU'|'eu-central-1'|'eu-north-1'|'eu-south-1'|'eu-west-1'|'eu-west-2'|'eu-west-3'|'me-south-1'|'sa-east-1'|'us-east-2'|'us-gov-east-1'|'us-gov-west-1'|'us-west-1'|'us-west-2'
  },
  GrantFullControl='string',
  GrantRead='string',
  GrantReadACP='string',
  GrantWrite='string',
  GrantWriteACP='string',
  ObjectLockEnabledForbucket=True|False
)

Usage

1
2
3
4
5
6
s3_create_bucket(
  client = NULL,
  bucket = NA,
  location_constraint = "us-east-1",
  ...
)

Arguments

client

A connection to the boto3 module

bucket

A name for the bucket

location_constraint

Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).

...

Additional Parameters to client$create_bucket

See Also

Other s3: s3_delete_bucket(), s3_list_buckets()


fdrennan/biggr2 documentation built on March 6, 2021, 7:13 a.m.