Learn R Programming

paws.storage (version 0.1.9)

s3control_create_access_point: Creates an access point and associates it with the specified bucket

Description

Creates an access point and associates it with the specified bucket.

Usage

s3control_create_access_point(AccountId, Name, Bucket, VpcConfiguration,
  PublicAccessBlockConfiguration)

Arguments

AccountId

[required] The AWS account ID for the owner of the bucket for which you want to create an access point.

Name

[required] The name you want to assign to this access point.

Bucket

[required] The name of the bucket that you want to associate this access point with.

VpcConfiguration

If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).

PublicAccessBlockConfiguration

Request syntax

svc$create_access_point(
  AccountId = "string",
  Name = "string",
  Bucket = "string",
  VpcConfiguration = list(
    VpcId = "string"
  ),
  PublicAccessBlockConfiguration = list(
    BlockPublicAcls = TRUE|FALSE,
    IgnorePublicAcls = TRUE|FALSE,
    BlockPublicPolicy = TRUE|FALSE,
    RestrictPublicBuckets = TRUE|FALSE
  )
)