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

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

commit 0f1ecddd745bb2c3a8698d70e75c4e70abffeb8a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Jan 13 14:36:11 2025 +0100

    Kamelets Catalog - Make the description a one liner - AWS Eventbridge Sink
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../partials/aws-eventbridge-sink-description.adoc | 28 ++++++++++++++++++++++
 kamelets/aws-eventbridge-sink.kamelet.yaml         |  7 +-----
 .../kamelets/aws-eventbridge-sink.kamelet.yaml     |  7 +-----
 3 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/docs/modules/ROOT/partials/aws-eventbridge-sink-description.adoc 
b/docs/modules/ROOT/partials/aws-eventbridge-sink-description.adoc
new file mode 100644
index 00000000..863c2dc7
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-eventbridge-sink-description.adoc
@@ -0,0 +1,28 @@
+== AWS Eventbridge Sink Kamelet Description
+
+=== Authentication methods
+
+In this Kamelet you have the possibility of avoiding the usage of explicit 
static credentials by specifying the useDefaultCredentialsProvider option and 
set it to true.
+
+The order of evaluation for Default Credentials Provider is the following:
+
+ - Java system properties - `aws.accessKeyId` and `aws.secretKey`.
+ - Environment variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
+ - Web Identity Token from AWS STS.
+ - The shared credentials and config files.
+ - Amazon ECS container credentials - loaded from the Amazon ECS if the 
environment variable `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` is set.
+ - Amazon EC2 Instance profile credentials. 
+ 
+You have also the possibility of using Profile Credentials Provider, by 
specifying the useProfileCredentialsProvider option to true and 
profileCredentialsName to the profile name.
+
+Only one of access key/secret key or default credentials provider could be used
+
+For more information about this you can look at 
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS
 credentials documentation]
+
+=== Required Headers
+
+You need to set the `resources-arn` / `ce-resources-arn` property to specify 
the ARN of resources related to the event.
+
+You need to set the `detail-type` / `ce-detail-type` property to specify the 
detail type related to the event.
+
+You need to set the `event-source` / `ce-event-source` property to specify the 
event source related to the event.
diff --git a/kamelets/aws-eventbridge-sink.kamelet.yaml 
b/kamelets/aws-eventbridge-sink.kamelet.yaml
index 7541de88..35543ccc 100644
--- a/kamelets/aws-eventbridge-sink.kamelet.yaml
+++ b/kamelets/aws-eventbridge-sink.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
 spec:
   definition:
     title: "AWS Eventbridge Sink"
-    description: |-
-      Send events to an Amazon Eventbridge Eventbus.
-
-      The basic authentication method for the Eventbridge service is to 
specify an access key and a secret key. These parameters are optional because 
the Kamelet provides a default credentials provider.
-      
-      If you use the default credentials provider, the Eventbridge client 
loads the credentials through this provider and doesn't use the basic 
authentication method.
+    description: Send events to an Amazon Eventbridge Eventbus.
 
       In the headers, you need to set the `resources-arn` / `ce-resources-arn` 
property to specify the ARN of resources related to the event.
 
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
index 7541de88..35543ccc 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
 spec:
   definition:
     title: "AWS Eventbridge Sink"
-    description: |-
-      Send events to an Amazon Eventbridge Eventbus.
-
-      The basic authentication method for the Eventbridge service is to 
specify an access key and a secret key. These parameters are optional because 
the Kamelet provides a default credentials provider.
-      
-      If you use the default credentials provider, the Eventbridge client 
loads the credentials through this provider and doesn't use the basic 
authentication method.
+    description: Send events to an Amazon Eventbridge Eventbus.
 
       In the headers, you need to set the `resources-arn` / `ce-resources-arn` 
property to specify the ARN of resources related to the event.
 

Reply via email to