'how to make IBM bucket public to use it for static website

I am using Amazoon S3 SDK to perform operations on buckets to use it for static website, but it always create the bucket to private.

            PutACLRequest req = new PutACLRequest()
            {
                BucketName = bucketName,
               CannedACL= S3CannedACL.PublicRead
            };


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source