This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch lambda-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 27aedbf7a55399afca394474a3074f2c3279fa99 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Mar 29 17:15:18 2021 +0200 Added AWS Lambda Sink Kamelet --- aws-lambda-sink.kamelet.yaml | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/aws-lambda-sink.kamelet.yaml b/aws-lambda-sink.kamelet.yaml new file mode 100644 index 0000000..8c88790 --- /dev/null +++ b/aws-lambda-sink.kamelet.yaml @@ -0,0 +1,51 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: aws-lambda-sink + annotations: + camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnICAgdmlld0JveD0iMCAwIDI1NiAyNTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPg0KCTxnPg0KCQk8cGF0aCBkPSJNOTguODc1LDIzMi4wMzMgTDcyLjQ0MiwyMjQuNjI1IEw0Ny40NDEsMTk2LjExNyBMNzguNzEzLDE5NS4yNTQgTDk4Ljg3NSwyMzIuMDMzIiBmaWxsPSIjOTk1QjgwIj [...] + camel.apache.org/provider: "Apache Software Foundation" + labels: + camel.apache.org/kamelet.type: sink +spec: + definition: + title: AWS Lambda Sink + description: |- + Send a payload to an AWS Lambda function + required: + - function + - accessKey + - secretKey + - region + properties: + function: + title: Function Name + description: The Lambda Function name + 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 + flow: + from: + uri: kamelet:source + steps: + - to: + uri: "aws2-lambda:{{function}}" + parameters: + accessKey: "{{accessKey}}" + secretKey: "{{secretKey}}" + region: "{{region}}"