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/03/24 07:43:40 UTC

[camel-kamelets] 01/01: AWS S3 Source Kamelet: Added autoCreateBucket option with default false

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

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

commit ea98e282e5b27afc69d3084fe9ae0b610f39895e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 24 08:42:50 2021 +0100

    AWS S3 Source Kamelet: Added autoCreateBucket option with default false
---
 aws-s3-source.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/aws-s3-source.kamelet.yaml b/aws-s3-source.kamelet.yaml
index bb8ba07..77f9bee 100644
--- a/aws-s3-source.kamelet.yaml
+++ b/aws-s3-source.kamelet.yaml
@@ -46,6 +46,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      autoCreateBucket:
+        title: Autocreate bucket
+        description: Setting the autocreation of the S3 bucket bucketName. 
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   types:
     out:
       mediaType: application/json
@@ -53,6 +60,7 @@ spec:
     from:
       uri: "aws2-s3:{{bucketNameOrArn}}"
       parameters:
+        autoCreateBucket: "{{autoCreateBucket}}"
         secretKey: "{{secretKey}}"
         accessKey: "{{accessKey}}"
         region: "{{region}}"