@@ -129,8 +129,8 @@ export const awsSinks: VectorComponentDef[] = [
129129 type : "string" ,
130130 description : "Timezone for date specifiers in templates (default: UTC)" ,
131131 } ,
132- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
133- ...compressionSchema ( [ "none" , "gzip " ] , "gzip" ) ,
132+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
133+ ...compressionSchema ( [ "gzip" , " none", "snappy" , "zlib" , "zstd "] , "gzip" ) ,
134134 ...authAwsSchema ( ) ,
135135 ...tlsSchema ( ) ,
136136 ...batchSchema ( { max_bytes : "10MB" , timeout_secs : "300" } ) ,
@@ -197,15 +197,15 @@ export const awsSinks: VectorComponentDef[] = [
197197 type : "string" ,
198198 description : "KMS key ARN for encrypting logs" ,
199199 } ,
200- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
201- ...compressionSchema ( [ "none" , "gzip " ] , "none" ) ,
200+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
201+ ...compressionSchema ( [ "gzip" , " none", "snappy" , "zlib" , "zstd "] , "none" ) ,
202202 ...authAwsSchema ( ) ,
203203 ...tlsSchema ( ) ,
204204 ...batchSchema ( { max_bytes : "1MB" , timeout_secs : "1" } ) ,
205205 ...bufferSchema ( ) ,
206206 ...requestSchema ( ) ,
207207 } ,
208- required : [ "group_name" , "stream_name" ] ,
208+ required : [ "group_name" , "stream_name" , "encoding" ] ,
209209 } ,
210210 } ,
211211 {
@@ -232,7 +232,7 @@ export const awsSinks: VectorComponentDef[] = [
232232 type : "string" ,
233233 description : "Custom endpoint for use with AWS-compatible services" ,
234234 } ,
235- ...compressionSchema ( [ "none" , "gzip " ] , "none" ) ,
235+ ...compressionSchema ( [ "gzip" , " none", "snappy" , "zlib" , "zstd "] , "none" ) ,
236236 ...authAwsSchema ( ) ,
237237 ...tlsSchema ( ) ,
238238 ...batchSchema ( { timeout_secs : "1" } ) ,
@@ -269,15 +269,15 @@ export const awsSinks: VectorComponentDef[] = [
269269 type : "string" ,
270270 description : "Log field to use as the partition key for Kinesis records" ,
271271 } ,
272- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
273- ...compressionSchema ( [ "none" , "gzip " ] , "none" ) ,
272+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
273+ ...compressionSchema ( [ "gzip" , " none", "snappy" , "zlib" , "zstd "] , "none" ) ,
274274 ...authAwsSchema ( ) ,
275275 ...tlsSchema ( ) ,
276276 ...batchSchema ( { max_bytes : "4MB" , timeout_secs : "1" } ) ,
277277 ...bufferSchema ( ) ,
278278 ...requestSchema ( ) ,
279279 } ,
280- required : [ "stream_name" ] ,
280+ required : [ "stream_name" , "encoding" ] ,
281281 } ,
282282 } ,
283283 {
@@ -308,15 +308,15 @@ export const awsSinks: VectorComponentDef[] = [
308308 type : "string" ,
309309 description : "Custom endpoint for use with AWS-compatible services" ,
310310 } ,
311- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
312- ...compressionSchema ( [ "none" , "gzip " ] , "none" ) ,
311+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
312+ ...compressionSchema ( [ "gzip" , " none", "snappy" , "zlib" , "zstd "] , "none" ) ,
313313 ...authAwsSchema ( ) ,
314314 ...tlsSchema ( ) ,
315315 ...batchSchema ( { max_bytes : "5MB" , timeout_secs : "1" } ) ,
316316 ...bufferSchema ( ) ,
317317 ...requestSchema ( ) ,
318318 } ,
319- required : [ "stream_name" ] ,
319+ required : [ "stream_name" , "encoding" ] ,
320320 } ,
321321 } ,
322322 {
@@ -351,13 +351,13 @@ export const awsSinks: VectorComponentDef[] = [
351351 type : "string" ,
352352 description : "Deduplication ID for FIFO queues (template-enabled)" ,
353353 } ,
354- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
354+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
355355 ...authAwsSchema ( ) ,
356356 ...tlsSchema ( ) ,
357357 ...bufferSchema ( ) ,
358358 ...requestSchema ( ) ,
359359 } ,
360- required : [ "queue_url" ] ,
360+ required : [ "queue_url" , "encoding" ] ,
361361 } ,
362362 } ,
363363 {
@@ -372,9 +372,9 @@ export const awsSinks: VectorComponentDef[] = [
372372 configSchema : {
373373 type : "object" ,
374374 properties : {
375- queue_url : {
375+ topic_arn : {
376376 type : "string" ,
377- description : "SQS queue URL for SNS publishing " ,
377+ description : "The ARN of the SNS topic to publish to " ,
378378 } ,
379379 region : {
380380 type : "string" ,
@@ -392,13 +392,13 @@ export const awsSinks: VectorComponentDef[] = [
392392 type : "string" ,
393393 description : "Deduplication ID for FIFO queues (template-enabled)" ,
394394 } ,
395- ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "protobuf" , "raw_message" , "text" ] ) ,
395+ ...encodingSchema ( [ "avro" , "cef" , "csv" , "gelf" , "json" , "logfmt" , "native" , "native_json" , "otlp" , " protobuf", "raw_message" , "syslog ", "text" ] ) ,
396396 ...authAwsSchema ( ) ,
397397 ...tlsSchema ( ) ,
398398 ...bufferSchema ( ) ,
399399 ...requestSchema ( ) ,
400400 } ,
401- required : [ "queue_url " ] ,
401+ required : [ "topic_arn" , "encoding "] ,
402402 } ,
403403 } ,
404404] ;
0 commit comments