s3control_put_public_access_block: Creates or modifies the PublicAccessBlock configuration for...

Description Usage Arguments Value Request syntax

View source: R/s3control_operations.R

Description

Creates or modifies the PublicAccessBlock configuration for an AWS account. For more information, see Using Amazon S3 block public access.

Related actions include:

Usage

1
2
s3control_put_public_access_block(PublicAccessBlockConfiguration,
  AccountId)

Arguments

PublicAccessBlockConfiguration

[required] The PublicAccessBlock configuration that you want to apply to the specified AWS account.

AccountId

[required] The account ID for the AWS account whose PublicAccessBlock configuration you want to set.

Value

An empty list.

Request syntax

1
2
3
4
5
6
7
8
9
svc$put_public_access_block(
  PublicAccessBlockConfiguration = list(
    BlockPublicAcls = TRUE|FALSE,
    IgnorePublicAcls = TRUE|FALSE,
    BlockPublicPolicy = TRUE|FALSE,
    RestrictPublicBuckets = TRUE|FALSE
  ),
  AccountId = "string"
)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.