From 6030eb826acbef1e47716decc34685d142db08dc Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Mon, 13 Jan 2025 12:01:51 +0100 Subject: [PATCH] Kamelets Catalog - Make the description a one liner - AWS CloudWatch Sink Signed-off-by: Andrea Cosentino --- .../aws-cloudwatch-sink-description.adoc | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/modules/ROOT/partials/aws-cloudwatch-sink-description.adoc diff --git a/docs/modules/ROOT/partials/aws-cloudwatch-sink-description.adoc b/docs/modules/ROOT/partials/aws-cloudwatch-sink-description.adoc new file mode 100644 index 000000000..cfff5cbee --- /dev/null +++ b/docs/modules/ROOT/partials/aws-cloudwatch-sink-description.adoc @@ -0,0 +1,31 @@ +== AWS Cloudwatch 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] + +=== Metric Headers + +In this Kamelet you could use the following headers for metrics: + +- `metric-name` / `ce-metricname` for the metric name. +- `metric-value` / `ce-metricvalue` for the metric value. +- `metric-unit` / `ce-metricunit` for the metric unit. +- `metric-timestamp` / `ce-metrictimestamp` for the metric timestamp. +- `metric-dimension-name` / `ce-metricdimensionname` for the dimension name. +- `metric-dimension-value` / `ce-metricdimensionvalue` for the dimension value.