You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/19 12:30:34 UTC

[camel-kamelets] 02/03: AWS S3 Source Kamelet: Add Prefix as optional parameter

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

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

commit b94d626b75ba6b9502913e3ee332fa780a39f1be
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jul 19 14:14:56 2021 +0200

    AWS S3 Source Kamelet: Add Prefix as optional parameter
---
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
index a7717d2..a94a882 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
@@ -66,6 +66,11 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: true
+      prefix:
+        title: Prefix
+        description: The AWS S3 bucket prefix to consider while searching
+        type: string
+        example: 'folder/'
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -79,5 +84,6 @@ spec:
         region: "{{region}}"
         includeBody: "{{includeBody}}"
         deleteAfterRead: "{{deleteAfterRead}}"
+        prefix: "{{?prefix}}"
       steps:
       - to: "kamelet:sink"