@@ -71,6 +71,8 @@ type S3Output struct {
71
71
AccessKey * secret.Secret `json:"access_key,omitempty"`
72
72
// The secret_key for the S3 server.
73
73
SecretKey * secret.Secret `json:"secret_key,omitempty"`
74
+ // The role for the S3 server.
75
+ Role string `json:"role,omitempty"`
74
76
// The object_key for the S3 server.
75
77
ObjectKey string `json:"object_key,omitempty"`
76
78
// Set object_key_timestamp
@@ -93,10 +95,22 @@ type S3Output struct {
93
95
FlushGracePeriod int `json:"flush_grace_period,omitempty"`
94
96
// Set the region option.
95
97
Region string `json:"region,omitempty"`
98
+ // You can use the server-side-encryption() and kms-key() options to configure encryption. Currently only server-side-encryption("aws:kms") is supported.
99
+ // Available in AxoSyslog 4.8 and later.
100
+ ServerSideEncryption string `json:"server_side_encryption,omitempty"`
101
+ // The kms-key() used for server-side encryption. The value of the kms-key() parameter must be one of the following:
102
+ // The ID of a key.
103
+ // An alias of a key. In that case, make sure to add the alias/prefix, for example: kms-key("alias/log-archive")
104
+ // The ARN of a key.
105
+ // Available in AxoSyslog 4.8 and later.
106
+ KmsKey string `json:"kms_key,omitempty"`
96
107
// Set the storage_class option.
97
108
StorageClass string `json:"storage_class,omitempty"`
98
109
// Set the canned_acl option.
99
110
CannedAcl string `json:"canned_acl,omitempty"`
111
+ // The content-type of the HTTP request.
112
+ // Defaults to "application/octet-stream".
113
+ ContentType string `json:"content_type,omitempty"`
100
114
// The number of messages that the output queue can store.
101
115
LogFIFOSize int `json:"log-fifo-size,omitempty"`
102
116
// Persistname
0 commit comments