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 d09c4bcb6b1f08631a5889126084275e03f861f2
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu May 19 14:04:43 2022 +0200

    Turn AWS Region into an enum - AWS SQS Kamelets
---
 kamelets/aws-sqs-batch-sink.kamelet.yaml | 1 +
 kamelets/aws-sqs-fifo-sink.kamelet.yaml  | 1 +
 kamelets/aws-sqs-sink.kamelet.yaml       | 1 +
 kamelets/aws-sqs-source.kamelet.yaml     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml 
b/kamelets/aws-sqs-batch-sink.kamelet.yaml
index 944db6ea..7cde0835 100644
--- a/kamelets/aws-sqs-batch-sink.kamelet.yaml
+++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml
@@ -67,6 +67,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 [...]
       autoCreateQueue:
         title: Autocreate Queue
         description: Setting the autocreation of the SQS queue. 
diff --git a/kamelets/aws-sqs-fifo-sink.kamelet.yaml 
b/kamelets/aws-sqs-fifo-sink.kamelet.yaml
index f43d38ee..108476ad 100644
--- a/kamelets/aws-sqs-fifo-sink.kamelet.yaml
+++ b/kamelets/aws-sqs-fifo-sink.kamelet.yaml
@@ -67,6 +67,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 [...]
       contentBasedDeduplication:
         title: Content-Based Deduplication
         description: Use content-based deduplication (should be enabled in the 
SQS FIFO queue first)
diff --git a/kamelets/aws-sqs-sink.kamelet.yaml 
b/kamelets/aws-sqs-sink.kamelet.yaml
index 2c07508e..a4d2ae8c 100644
--- a/kamelets/aws-sqs-sink.kamelet.yaml
+++ b/kamelets/aws-sqs-sink.kamelet.yaml
@@ -66,6 +66,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 [...]
       autoCreateQueue:
         title: Autocreate Queue
         description: Setting the autocreation of the SQS queue. 
diff --git a/kamelets/aws-sqs-source.kamelet.yaml 
b/kamelets/aws-sqs-source.kamelet.yaml
index caf79b8f..ed1f9231 100644
--- a/kamelets/aws-sqs-source.kamelet.yaml
+++ b/kamelets/aws-sqs-source.kamelet.yaml
@@ -81,6 +81,7 @@ spec:
         x-descriptors:
         - urn:keda:metadata:awsRegion
         - urn:keda:required
+        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 [...]
       autoCreateQueue:
         title: Autocreate Queue
         description: Setting the autocreation of the SQS queue. 

Reply via email to