@@ -32,45 +32,54 @@ type AWSCommon struct {
3232}
3333
3434type AWSS3 struct {
35- AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
36- Arn string `json:"arn,omitempty" camel:"BUCKET_NAME_OR_ARN"` // S3 ARN
37- DeleteAfterRead bool `json:"deleteAfterRead" default:"true"` // Auto-delete objects after reading
38- MoveAfterRead bool `json:"moveAfterRead" default:"false"` // Move objects after reading
39- DestinationBucket string `json:"destinationBucket,omitempty"` // Destination bucket for moved objects
40- DestinationBucketPrefix string `json:"destinationBucketPrefix,omitempty"` // Prefix for moved objects
41- DestinationBucketSuffix string `json:"destinationBucketSuffix,omitempty"` // Suffix for moved objects
42- AutoCreateBucket bool `json:"autoCreateBucket" default:"false"` // Auto-create S3 bucket
43- Prefix string `json:"prefix,omitempty"` // S3 bucket prefix for search
44- IgnoreBody bool `json:"ignoreBody" default:"false"` // Ignore object body
45- ForcePathStyle bool `json:"forcePathStyle" default:"false"` // Force path style for bucket access
46- Delay int `json:"delay" default:"500"` // Delay between polls in milliseconds
47- MaxMessagesPerPoll int `json:"maxMessagesPerPoll" default:"10"` // Max messages to poll per request
35+ AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
36+ Arn string `json:"arn,omitempty" camel:"BUCKET_NAME_OR_ARN"` // S3 ARN
37+ DeleteAfterRead bool `json:"deleteAfterRead" default:"true"` // Auto-delete objects after reading
38+ MoveAfterRead bool `json:"moveAfterRead" default:"false"` // Move objects after reading
39+ DestinationBucket string `json:"destinationBucket,omitempty"` // Destination bucket for moved objects
40+ DestinationBucketPrefix string `json:"destinationBucketPrefix,omitempty"` // Prefix for moved objects
41+ DestinationBucketSuffix string `json:"destinationBucketSuffix,omitempty"` // Suffix for moved objects
42+ AutoCreateBucket bool `json:"autoCreateBucket" default:"false"` // Auto-create S3 bucket
43+ Prefix string `json:"prefix,omitempty"` // S3 bucket prefix for search
44+ IgnoreBody bool `json:"ignoreBody" default:"false"` // Ignore object body
45+ ForcePathStyle bool `json:"forcePathStyle" default:"false"` // Force path style for bucket access
46+ Delay int `json:"delay" default:"500"` // Delay between polls in milliseconds
47+ MaxMessagesPerPoll int `json:"maxMessagesPerPoll" default:"10"` // Max messages to poll per request
4848}
4949
5050type AWSSQS struct {
51- AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
52- Arn string `json:"arn,omitempty" camel:"QUEUE_NAME_OR_ARN"` // SQS ARN
53- DeleteAfterRead bool `json:"deleteAfterRead" default:"true"` // Auto-delete messages after reading
54- AutoCreateQueue bool `json:"autoCreateQueue" default:"false"` // Auto-create SQS queue
55- Host string `json:"host" camel:"AMAZONAWSHOST" default:"amazonaws.com"` // AWS host
56- Protocol string `json:"protocol" default:"https"` // Communication protocol (http/https)
57- QueueURL string `json:"queueURL,omitempty"` // Full SQS queue URL
58- Greedy bool `json:"greedy" default:"false"` // Greedy scheduler
59- Delay int `json:"delay" default:"500"` // Delay between polls in milliseconds
60- MaxMessagesPerPoll int `json:"maxMessagesPerPoll" default:"1"` // Max messages to return (1-10)
61- WaitTimeSeconds int `json:"waitTimeSeconds,omitempty"` // Wait time for messages
62- VisibilityTimeout int `json:"visibilityTimeout,omitempty"` // Visibility timeout in seconds
51+ AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
52+ Arn string `json:"arn,omitempty" camel:"QUEUE_NAME_OR_ARN"` // SQS ARN
53+ DeleteAfterRead bool `json:"deleteAfterRead" default:"true"` // Auto-delete messages after reading
54+ AutoCreateQueue bool `json:"autoCreateQueue" default:"false"` // Auto-create SQS queue
55+ Host string `json:"host" camel:"AMAZONAWSHOST" default:"amazonaws.com"` // AWS host
56+ Protocol string `json:"protocol" default:"https"` // Communication protocol (http/https)
57+ QueueURL string `json:"queueURL,omitempty"` // Full SQS queue URL
58+ Greedy bool `json:"greedy" default:"false"` // Greedy scheduler
59+ Delay int `json:"delay" default:"500"` // Delay between polls in milliseconds
60+ MaxMessagesPerPoll int `json:"maxMessagesPerPoll" default:"1"` // Max messages to return (1-10)
61+ WaitTimeSeconds int `json:"waitTimeSeconds,omitempty"` // Wait time for messages
62+ VisibilityTimeout int `json:"visibilityTimeout,omitempty"` // Visibility timeout in seconds
6363}
6464
6565type AWSDDBStreams struct {
66- AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
67- Table string `json:"table,omitempty"` // The name of the DynamoDB table
68- StreamIteratorType string `json:"streamIteratorType,omitempty" default:"FROM_LATEST"` // Defines where in the DynamoDB stream to start getting records
69- Delay int `json:"delay,omitempty" default:"500"` // Delay in milliseconds before the next poll from the database
66+ AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
67+ Table string `json:"table,omitempty"` // The name of the DynamoDB table
68+ StreamIteratorType string `json:"streamIteratorType,omitempty" default:"FROM_LATEST"` // Defines where in the DynamoDB stream to start getting records
69+ Delay int `json:"delay,omitempty" default:"500"` // Delay in milliseconds before the next poll from the database
7070}
7171
7272type AWSSNS struct {
73- AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
74- Arn string `json:"arn,omitempty" camel:"TOPIC_NAME_OR_ARN"` // SNS ARN
75- AutoCreateTopic bool `json:"autoCreateTopic" default:"false"` // Auto-create SNS topic
73+ AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
74+ Arn string `json:"arn,omitempty" camel:"TOPIC_NAME_OR_ARN"` // SNS ARN
75+ AutoCreateTopic bool `json:"autoCreateTopic" default:"false"` // Auto-create SNS topic
76+ }
77+
78+ type AWSEventbridge struct {
79+ AWSCommon `json:",inline"` // Embeds AWSCommon to inherit its fields in JSON
80+ Arn string `json:"arn,omitempty" camel:"EVENTBUS_NAME_OR_ARN"` // EB ARN
81+ ResourcesArn string `json:"resourcesArn,omitempty"` // EB Resources ARN
82+ EventSourcePrefix string `json:"eventSourcePrefix,omitempty"` // EB Event Source Prefix
83+ EventSource string `json:"eventSource,omitempty"` // EB Event Source
84+ DetailType string `json:"detailType,omitempty"` // EB Detail Type
7685}
0 commit comments