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/26 08:07:49 UTC
[camel-kamelets] 01/06: Added AWS SNS Sink Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch aws-sns
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 320eb6e802490b8f1ab3cb03cd0f10bfdef02664
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:03:41 2021 +0100
Added AWS SNS Sink Kamelet
---
aws-sns-sink.kamelet.yaml | 59 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/aws-sns-sink.kamelet.yaml b/aws-sns-sink.kamelet.yaml
new file mode 100644
index 0000000..10b18ac
--- /dev/null
+++ b/aws-sns-sink.kamelet.yaml
@@ -0,0 +1,59 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: aws-sns-sink
+ annotations:
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ labels:
+ camel.apache.org/kamelet.type: sink
+spec:
+ definition:
+ title: AWS SNS Sink
+ description: |-
+ Send message to an AWS SNS Queue
+ required:
+ - topicNameOrArn
+ - accessKey
+ - secretKey
+ - region
+ properties:
+ topicNameOrArn:
+ title: Topic Name
+ description: The SQS Topic name or ARN
+ type: string
+ accessKey:
+ title: Access Key
+ description: The access key obtained from AWS
+ type: string
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ secretKey:
+ title: Secret Key
+ description: The secret key obtained from AWS
+ type: string
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ region:
+ title: AWS Region
+ description: The AWS region to connect to
+ type: string
+ example: eu-west-1
+ autoCreateTopic:
+ title: Autocreate topic
+ description: Setting the autocreation of the SNS topic.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
+ flow:
+ from:
+ uri: kamelet:source
+ steps:
+ - to:
+ uri: "aws2-sns:{{topicNameOrArn}}"
+ parameters:
+ autoCreateTopic: "{{autoCreateTopic}}"
+ accessKey: "{{accessKey}}"
+ secretKey: "{{secretKey}}"
+ region: "{{region}}"