File size: 481 Bytes
beedd7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
**To list public block access settings for an account**

The following ``get-public-access-block`` example displays the block public access settings for the specified account. ::

    aws s3control get-public-access-block \
        --account-id 123456789012

Output::

    {
       "PublicAccessBlockConfiguration": {
          "BlockPublicPolicy": true,
          "RestrictPublicBuckets": true,
          "IgnorePublicAcls": true,
          "BlockPublicAcls": true
       }
    }