This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch cloud-trail-1130
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 1125f84e4f642ba67c7445f537fe6eeef4b0705e
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Nov 2 09:56:36 2022 +0100

    AWS Cloudtrail Source Kamelet: Add an eventsource parameter
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/aws-cloudtrail-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/aws-cloudtrail-source.kamelet.yaml 
b/kamelets/aws-cloudtrail-source.kamelet.yaml
index 1d605328..3b756773 100644
--- a/kamelets/aws-cloudtrail-source.kamelet.yaml
+++ b/kamelets/aws-cloudtrail-source.kamelet.yaml
@@ -65,6 +65,11 @@ spec:
         description: Maximum number of records that will be fetched in each 
poll.
         type: integer
         default: 1
+      eventSource:
+        title: Event Source
+        description: Specify an event source to select events.
+        type: string
+        example: secretsmanager.amazonaws.com
   dependencies:
     - "camel:core"
     - "camel:aws-cloudtrail"
@@ -76,6 +81,7 @@ spec:
         secretKey: "{{?secretKey}}"
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
+        eventSource: "{{?eventSource}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
         overrideEndpoint: "{{overrideEndpoint}}"

Reply via email to