반응형 copyobject1 aws s3 sdk acl 지정 put에 acl 지정 amazonS3Client.putObject(new PutObjectRequest(bucket, fileName, inputStream, metadata).withCannedAcl(CannedAccessControlList.PublicRead)); BucketOwnerFullControl 을 PublicRead라던가 바꾸면됨 /* Create an Object of CopyObjectRequest */ /* Arguments: SourceBucketName, SourceObjectKey, DestinationBucketName, DestinationObjectKey */ CopyObjectRequest request = new CopyObjectRequest("bucket-1", ".. 2022. 10. 27. 이전 1 다음 반응형