s3control_get_public_access_block: Retrieves the PublicAccessBlock configuration for an AWS...

Description Usage Arguments Value Request syntax

View source: R/s3control_operations.R

Description

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

Related actions include:

Usage

1

Arguments

AccountId

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

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
list(
  PublicAccessBlockConfiguration = list(
    BlockPublicAcls = TRUE|FALSE,
    IgnorePublicAcls = TRUE|FALSE,
    BlockPublicPolicy = TRUE|FALSE,
    RestrictPublicBuckets = TRUE|FALSE
  )
)

Request syntax

1
2
3
svc$get_public_access_block(
  AccountId = "string"
)

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