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

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


The following commit(s) were added to refs/heads/main by this push:
     new 159954166e2 Regen
159954166e2 is described below

commit 159954166e2d035aed1b58a95b8200526e80c461
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Feb 8 07:04:21 2024 +0100

    Regen
---
 .../catalog/components/aws2-eventbridge.json       | 16 ++++++++-----
 .../springboot/catalog/components/aws2-iam.json    | 16 ++++++++-----
 .../src/main/docs/aws2-eventbridge.json            | 13 +++++++++++
 .../EventbridgeComponentConfiguration.java         | 26 ++++++++++++++++++++++
 .../src/main/docs/aws2-iam.json                    | 13 +++++++++++
 .../iam/springboot/IAM2ComponentConfiguration.java | 26 ++++++++++++++++++++++
 6 files changed, 98 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
index 0bd99a1b615..380119460d3 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-eventbridge.json
@@ -41,9 +41,11 @@
     "accessKey": { "index": 15, "kind": "property", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
     "profileCredentialsName": { "index": 16, "kind": "property", 
"displayName": "Profile Credentials Name", "group": "security", "label": 
"security", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider this parameter will set th [...]
     "secretKey": { "index": 17, "kind": "property", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
-    "trustAllCertificates": { "index": 18, "kind": "property", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overrid [...]
-    "useDefaultCredentialsProvider": { "index": 19, "kind": "property", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client s [...]
-    "useProfileCredentialsProvider": { "index": 20, "kind": "property", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client s [...]
+    "sessionToken": { "index": 18, "kind": "property", "displayName": "Session 
Token", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Session Token 
used when the user needs to assume a IAM role" },
+    "trustAllCertificates": { "index": 19, "kind": "property", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overrid [...]
+    "useDefaultCredentialsProvider": { "index": 20, "kind": "property", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client s [...]
+    "useProfileCredentialsProvider": { "index": 21, "kind": "property", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client s [...]
+    "useSessionCredentials": { "index": 22, "kind": "property", "displayName": 
"Use Session Credentials", "group": "security", "label": "security", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client should expect to u [...]
   },
   "headers": {
     "CamelAwsEventbridgeOperation": { "index": 0, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The operation we want to perform", 
"constantName": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConstants#OPERATION" },
@@ -73,8 +75,10 @@
     "accessKey": { "index": 12, "kind": "parameter", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
     "profileCredentialsName": { "index": 13, "kind": "parameter", 
"displayName": "Profile Credentials Name", "group": "security", "label": 
"security", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider this parameter will set t [...]
     "secretKey": { "index": 14, "kind": "parameter", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
-    "trustAllCertificates": { "index": 15, "kind": "parameter", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overri [...]
-    "useDefaultCredentialsProvider": { "index": 16, "kind": "parameter", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client  [...]
-    "useProfileCredentialsProvider": { "index": 17, "kind": "parameter", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client  [...]
+    "sessionToken": { "index": 15, "kind": "parameter", "displayName": 
"Session Token", "group": "security", "label": "security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Session Token 
used when the user needs to assume a IAM role" },
+    "trustAllCertificates": { "index": 16, "kind": "parameter", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overri [...]
+    "useDefaultCredentialsProvider": { "index": 17, "kind": "parameter", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client  [...]
+    "useProfileCredentialsProvider": { "index": 18, "kind": "parameter", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client  [...]
+    "useSessionCredentials": { "index": 19, "kind": "parameter", 
"displayName": "Use Session Credentials", "group": "security", "label": 
"security", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.eventbridge.EventbridgeConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Eventbridge client should expect to  [...]
   }
 }
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json
index 9ae97231ea4..fb4ee05f886 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json
@@ -40,9 +40,11 @@
     "accessKey": { "index": 14, "kind": "property", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Access Key" },
     "profileCredentialsName": { "index": 15, "kind": "property", 
"displayName": "Profile Credentials Name", "group": "security", "label": 
"security", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider this parameter will set the profile name" },
     "secretKey": { "index": 16, "kind": "property", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Secret Key" },
-    "trustAllCertificates": { "index": 17, "kind": "property", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
-    "useDefaultCredentialsProvider": { "index": 18, "kind": "property", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load cr [...]
-    "useProfileCredentialsProvider": { "index": 19, "kind": "property", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load cr [...]
+    "sessionToken": { "index": 17, "kind": "property", "displayName": "Session 
Token", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Session Token used when the user 
needs to assume a IAM role" },
+    "trustAllCertificates": { "index": 18, "kind": "property", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
+    "useDefaultCredentialsProvider": { "index": 19, "kind": "property", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load cr [...]
+    "useProfileCredentialsProvider": { "index": 20, "kind": "property", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load cr [...]
+    "useSessionCredentials": { "index": 21, "kind": "property", "displayName": 
"Use Session Credentials", "group": "security", "label": "security", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "Set whether the IAM 
client should expect to use Session Credentials. [...]
   },
   "headers": {
     "CamelAwsIAMOperation": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The operation we want to perform", "constantName": 
"org.apache.camel.component.aws2.iam.IAM2Constants#OPERATION" },
@@ -67,8 +69,10 @@
     "accessKey": { "index": 11, "kind": "parameter", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Access Key" },
     "profileCredentialsName": { "index": 12, "kind": "parameter", 
"displayName": "Profile Credentials Name", "group": "security", "label": 
"security", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider this parameter will set the profile name" },
     "secretKey": { "index": 13, "kind": "parameter", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Secret Key" },
-    "trustAllCertificates": { "index": 14, "kind": "parameter", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
-    "useDefaultCredentialsProvider": { "index": 15, "kind": "parameter", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load c [...]
-    "useProfileCredentialsProvider": { "index": 16, "kind": "parameter", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load c [...]
+    "sessionToken": { "index": 14, "kind": "parameter", "displayName": 
"Session Token", "group": "security", "label": "security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Amazon AWS Session Token used when the user 
needs to assume a IAM role" },
+    "trustAllCertificates": { "index": 15, "kind": "parameter", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
+    "useDefaultCredentialsProvider": { "index": 16, "kind": "parameter", 
"displayName": "Use Default Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load c [...]
+    "useProfileCredentialsProvider": { "index": 17, "kind": "parameter", 
"displayName": "Use Profile Credentials Provider", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
load c [...]
+    "useSessionCredentials": { "index": 18, "kind": "parameter", 
"displayName": "Use Session Credentials", "group": "security", "label": 
"security", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": 
"configuration", "description": "Set whether the IAM client should expect to 
use Session Credentials [...]
   }
 }
diff --git 
a/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge.json
 
b/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge.json
index 67561c7166f..daac14f1ff1 100644
--- 
a/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge.json
+++ 
b/components-starter/camel-aws2-eventbridge-starter/src/main/docs/aws2-eventbridge.json
@@ -132,6 +132,12 @@
       "description": "Amazon AWS Secret Key",
       "sourceType": 
"org.apache.camel.component.aws2.eventbridge.springboot.EventbridgeComponentConfiguration"
     },
+    {
+      "name": "camel.component.aws2-eventbridge.session-token",
+      "type": "java.lang.String",
+      "description": "Amazon AWS Session Token used when the user needs to 
assume a IAM role",
+      "sourceType": 
"org.apache.camel.component.aws2.eventbridge.springboot.EventbridgeComponentConfiguration"
+    },
     {
       "name": "camel.component.aws2-eventbridge.trust-all-certificates",
       "type": "java.lang.Boolean",
@@ -158,6 +164,13 @@
       "description": "Set whether the Eventbridge client should expect to load 
credentials through a profile credentials provider.",
       "sourceType": 
"org.apache.camel.component.aws2.eventbridge.springboot.EventbridgeComponentConfiguration",
       "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws2-eventbridge.use-session-credentials",
+      "type": "java.lang.Boolean",
+      "description": "Set whether the Eventbridge client should expect to use 
Session Credentials. This is useful in situation in which the user needs to 
assume a IAM role for doing operations in Eventbridge.",
+      "sourceType": 
"org.apache.camel.component.aws2.eventbridge.springboot.EventbridgeComponentConfiguration",
+      "defaultValue": false
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
 
b/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
index e68e254d388..bb99ad49946 100644
--- 
a/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
+++ 
b/components-starter/camel-aws2-eventbridge-starter/src/main/java/org/apache/camel/component/aws2/eventbridge/springboot/EventbridgeComponentConfiguration.java
@@ -135,6 +135,10 @@ public class EventbridgeComponentConfiguration
      * Amazon AWS Secret Key
      */
     private String secretKey;
+    /**
+     * Amazon AWS Session Token used when the user needs to assume a IAM role
+     */
+    private String sessionToken;
     /**
      * If we want to trust all certificates in case of overriding the endpoint
      */
@@ -150,6 +154,12 @@ public class EventbridgeComponentConfiguration
      * through a profile credentials provider.
      */
     private Boolean useProfileCredentialsProvider = false;
+    /**
+     * Set whether the Eventbridge client should expect to use Session
+     * Credentials. This is useful in situation in which the user needs to
+     * assume a IAM role for doing operations in Eventbridge.
+     */
+    private Boolean useSessionCredentials = false;
 
     public EventbridgeConfiguration getConfiguration() {
         return configuration;
@@ -295,6 +305,14 @@ public class EventbridgeComponentConfiguration
         this.secretKey = secretKey;
     }
 
+    public String getSessionToken() {
+        return sessionToken;
+    }
+
+    public void setSessionToken(String sessionToken) {
+        this.sessionToken = sessionToken;
+    }
+
     public Boolean getTrustAllCertificates() {
         return trustAllCertificates;
     }
@@ -320,4 +338,12 @@ public class EventbridgeComponentConfiguration
             Boolean useProfileCredentialsProvider) {
         this.useProfileCredentialsProvider = useProfileCredentialsProvider;
     }
+
+    public Boolean getUseSessionCredentials() {
+        return useSessionCredentials;
+    }
+
+    public void setUseSessionCredentials(Boolean useSessionCredentials) {
+        this.useSessionCredentials = useSessionCredentials;
+    }
 }
\ No newline at end of file
diff --git 
a/components-starter/camel-aws2-iam-starter/src/main/docs/aws2-iam.json 
b/components-starter/camel-aws2-iam-starter/src/main/docs/aws2-iam.json
index b3238ed9bf1..d3542fc5113 100644
--- a/components-starter/camel-aws2-iam-starter/src/main/docs/aws2-iam.json
+++ b/components-starter/camel-aws2-iam-starter/src/main/docs/aws2-iam.json
@@ -127,6 +127,12 @@
       "description": "Amazon AWS Secret Key",
       "sourceType": 
"org.apache.camel.component.aws2.iam.springboot.IAM2ComponentConfiguration"
     },
+    {
+      "name": "camel.component.aws2-iam.session-token",
+      "type": "java.lang.String",
+      "description": "Amazon AWS Session Token used when the user needs to 
assume a IAM role",
+      "sourceType": 
"org.apache.camel.component.aws2.iam.springboot.IAM2ComponentConfiguration"
+    },
     {
       "name": "camel.component.aws2-iam.trust-all-certificates",
       "type": "java.lang.Boolean",
@@ -153,6 +159,13 @@
       "description": "Set whether the IAM client should expect to load 
credentials through a profile credentials provider.",
       "sourceType": 
"org.apache.camel.component.aws2.iam.springboot.IAM2ComponentConfiguration",
       "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws2-iam.use-session-credentials",
+      "type": "java.lang.Boolean",
+      "description": "Set whether the IAM client should expect to use Session 
Credentials. This is useful in situation in which the user needs to assume a 
IAM role for doing operations in IAM.",
+      "sourceType": 
"org.apache.camel.component.aws2.iam.springboot.IAM2ComponentConfiguration",
+      "defaultValue": false
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-aws2-iam-starter/src/main/java/org/apache/camel/component/aws2/iam/springboot/IAM2ComponentConfiguration.java
 
b/components-starter/camel-aws2-iam-starter/src/main/java/org/apache/camel/component/aws2/iam/springboot/IAM2ComponentConfiguration.java
index e93e2deebec..3480ef561be 100644
--- 
a/components-starter/camel-aws2-iam-starter/src/main/java/org/apache/camel/component/aws2/iam/springboot/IAM2ComponentConfiguration.java
+++ 
b/components-starter/camel-aws2-iam-starter/src/main/java/org/apache/camel/component/aws2/iam/springboot/IAM2ComponentConfiguration.java
@@ -132,6 +132,10 @@ public class IAM2ComponentConfiguration
      * Amazon AWS Secret Key
      */
     private String secretKey;
+    /**
+     * Amazon AWS Session Token used when the user needs to assume a IAM role
+     */
+    private String sessionToken;
     /**
      * If we want to trust all certificates in case of overriding the endpoint
      */
@@ -147,6 +151,12 @@ public class IAM2ComponentConfiguration
      * profile credentials provider.
      */
     private Boolean useProfileCredentialsProvider = false;
+    /**
+     * Set whether the IAM client should expect to use Session Credentials. 
This
+     * is useful in situation in which the user needs to assume a IAM role for
+     * doing operations in IAM.
+     */
+    private Boolean useSessionCredentials = false;
 
     public IAM2Configuration getConfiguration() {
         return configuration;
@@ -284,6 +294,14 @@ public class IAM2ComponentConfiguration
         this.secretKey = secretKey;
     }
 
+    public String getSessionToken() {
+        return sessionToken;
+    }
+
+    public void setSessionToken(String sessionToken) {
+        this.sessionToken = sessionToken;
+    }
+
     public Boolean getTrustAllCertificates() {
         return trustAllCertificates;
     }
@@ -309,4 +327,12 @@ public class IAM2ComponentConfiguration
             Boolean useProfileCredentialsProvider) {
         this.useProfileCredentialsProvider = useProfileCredentialsProvider;
     }
+
+    public Boolean getUseSessionCredentials() {
+        return useSessionCredentials;
+    }
+
+    public void setUseSessionCredentials(Boolean useSessionCredentials) {
+        this.useSessionCredentials = useSessionCredentials;
+    }
 }
\ No newline at end of file

Reply via email to