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 2022/05/19 12:07:17 UTC

[camel-kamelets] 01/22: Turn AWS region in an enum - AWS S3 Source

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

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

commit d9258a57a8f7cf7640a2cd1c6be1907acca2ebf1
Author: Andrea Cosentino <an...@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.