Skip to content

Commit de20c82

Browse files
dvdmelamedph
authored andcommitted
Add support for S3 bucket_owner_full_control ACL
Fixes #87
1 parent 6345e42 commit de20c82

File tree

1 file changed

+2
-2
lines changed
  • lib/logstash/outputs

1 file changed

+2
-2
lines changed

lib/logstash/outputs/s3.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
# size_file => 2048 (optional) - Bytes
6868
# time_file => 5 (optional) - Minutes
6969
# format => "plain" (optional)
70-
# canned_acl => "private" (optional. Options are "private", "public_read", "public_read_write", "authenticated_read". Defaults to "private" )
70+
# canned_acl => "private" (optional. Options are "private", "public_read", "public_read_write", "authenticated_read", "bucket_owner_full_control". Defaults to "private" )
7171
# }
7272
#
7373
class LogStash::Outputs::S3 < LogStash::Outputs::Base
@@ -100,7 +100,7 @@ class LogStash::Outputs::S3 < LogStash::Outputs::Base
100100
config :restore, :validate => :boolean, :default => false
101101

102102
# The S3 canned ACL to use when putting the file. Defaults to "private".
103-
config :canned_acl, :validate => ["private", "public_read", "public_read_write", "authenticated_read"],
103+
config :canned_acl, :validate => ["private", "public_read", "public_read_write", "authenticated_read", "bucket_owner_full_control"],
104104
:default => "private"
105105

106106
# Specifies wether or not to use S3's AES256 server side encryption. Defaults to false.

0 commit comments

Comments
 (0)