Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / s3api / put-public-access-block.rst
Size: Mime:
**To set the block public access configuration for a bucket**

The following ``put-public-access-block`` example sets a restrictive block public access configuration for the specified bucket. ::

    aws s3api put-public-access-block \
        --bucket my-bucket \
        --public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true"

This command produces no output.