This operation is not supported by directory buckets¶
Description¶
This operation is not supported by directory buckets.
Retrieves the PublicAccessBlock configuration for an Amazon Web Services account. This operation returns the effective account-level configuration, which may inherit from organization-level policies. For more information, see Using Amazon S3 block public access.
Related actions include:
Usage¶
Arguments¶
-
AccountId[required] The account ID for the Amazon Web Services account whose
PublicAccessBlockconfiguration you want to retrieve.
Value¶
A list with the following syntax:
list(
PublicAccessBlockConfiguration = list(
BlockPublicAcls = TRUE|FALSE,
IgnorePublicAcls = TRUE|FALSE,
BlockPublicPolicy = TRUE|FALSE,
RestrictPublicBuckets = TRUE|FALSE
)
)