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 d4b6692f2abe3c6fbf83864ce7f05a3ab908207f
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu May 19 12:05:44 2022 +0200

    Turn AWS region in an enum - AWS S3 Source
---
 kamelets/aws-s3-source.kamelet.yaml                                      | 1 +
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml               | 1 +
 2 files changed, 2 insertions(+)

diff --git a/kamelets/aws-s3-source.kamelet.yaml 
b/kamelets/aws-s3-source.kamelet.yaml
index 19eee102..864b3da6 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -56,6 +56,7 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+        enum: ["af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", 
"ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", 
"ap-southeast-3", "ca-central-1", "eu-central-1", "eu-north-1", "eu-south-1", 
"eu-west-1", "eu-west-2", "eu-west-3", "fips-us-east-1", "fips-us-east-2", 
"fips-us-west-1", "fips-us-west-2", "me-south-1", "sa-east-1", "us-east-1", 
"us-east-2", "us-west-1", "us-west-2", "cn-north-1", "cn-northwest-1", 
"us-gov-east-1", "us-gov-west-1", "us-iso-east [...]
       autoCreateBucket:
         title: Autocreate Bucket
         description: Setting the autocreation of the S3 bucket bucketName.
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 19eee102..864b3da6 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
@@ -56,6 +56,7 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+        enum: ["af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", 
"ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", 
"ap-southeast-3", "ca-central-1", "eu-central-1", "eu-north-1", "eu-south-1", 
"eu-west-1", "eu-west-2", "eu-west-3", "fips-us-east-1", "fips-us-east-2", 
"fips-us-west-1", "fips-us-west-2", "me-south-1", "sa-east-1", "us-east-1", 
"us-east-2", "us-west-1", "us-west-2", "cn-north-1", "cn-northwest-1", 
"us-gov-east-1", "us-gov-west-1", "us-iso-east [...]
       autoCreateBucket:
         title: Autocreate Bucket
         description: Setting the autocreation of the S3 bucket bucketName.

Reply via email to