I want to enable public access to objects in my mediastore container, something like in s3 ... s3Client.createBucket(CreateBucketRequest .builder() .bucket(bucketName).acl(BucketCannedACL.PUBLIC_READ).acl(BucketCannedACL.PUBLIC_READ_WRITE) ...
AWS mediastore java sdk 2 - enable public access
65 Views Asked by user1427947 At
1
To enable public access, you need to add a stanza to the Container Policy. The additional stanza will resemble this example below. Modify it using your AWS account number, region, and container name in the Resource ARN.