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:28 UTC

[camel-kamelets] 12/22: Turn AWS Region into An enum - AWS Kinesis Source and Sink

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 23a620534a1e39f115f8f5b1ba4c76cead301a38
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu May 19 14:00:32 2022 +0200

    Turn AWS Region into An enum - AWS Kinesis Source and Sink
---
 kamelets/aws-kinesis-sink.kamelet.yaml   | 1 +
 kamelets/aws-kinesis-source.kamelet.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/kamelets/aws-kinesis-sink.kamelet.yaml b/kamelets/aws-kinesis-sink.kamelet.yaml
index 0c673332..f061f42e 100644
--- a/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -78,6 +78,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 [...]
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml
index a40f7850..98ad9524 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.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 [...]
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.