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

vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6eaa69ee46 Make `aws.session_factory` part of Amazon provider 
configuration documentation (#33960)
6eaa69ee46 is described below

commit 6eaa69ee46468af212909fae11464914471e9961
Author: Andrey Anshin <[email protected]>
AuthorDate: Fri Sep 1 21:11:37 2023 +0400

    Make `aws.session_factory` part of Amazon provider configuration 
documentation (#33960)
---
 airflow/providers/amazon/provider.yaml                 | 14 ++++++++++++++
 .../configurations-ref.rst                             | 18 ++++++++++++++++++
 docs/apache-airflow-providers-amazon/index.rst         |  1 +
 3 files changed, 33 insertions(+)

diff --git a/airflow/providers/amazon/provider.yaml 
b/airflow/providers/amazon/provider.yaml
index 0487fd1e6d..7bcd0408df 100644
--- a/airflow/providers/amazon/provider.yaml
+++ b/airflow/providers/amazon/provider.yaml
@@ -711,3 +711,17 @@ additional-extras:
   - name: cncf.kubernetes
     dependencies:
       - apache-airflow-providers-cncf-kubernetes>=7.2.0
+
+config:
+  aws:
+    description: This section contains settings for Amazon Web Services (AWS) 
integration.
+    options:
+      session_factory:
+        description: |
+          Full import path to the class which implements a custom session 
factory for
+          ``boto3.session.Session``. For more details please have a look at
+          :ref:`howto/connection:aws:session-factory`.
+        default: ~
+        example: my_company.aws.MyCustomSessionFactory
+        type: string
+        version_added: 3.1.1
diff --git a/docs/apache-airflow-providers-amazon/configurations-ref.rst 
b/docs/apache-airflow-providers-amazon/configurations-ref.rst
new file mode 100644
index 0000000000..5885c9d91b
--- /dev/null
+++ b/docs/apache-airflow-providers-amazon/configurations-ref.rst
@@ -0,0 +1,18 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+.. include:: ../exts/includes/providers-configurations-ref.rst
diff --git a/docs/apache-airflow-providers-amazon/index.rst 
b/docs/apache-airflow-providers-amazon/index.rst
index 8b0e9c5568..cd12a7f927 100644
--- a/docs/apache-airflow-providers-amazon/index.rst
+++ b/docs/apache-airflow-providers-amazon/index.rst
@@ -40,6 +40,7 @@
     Deferrable Operators <deferrable>
     Secrets backends <secrets-backends/index>
     Logging for Tasks <logging/index>
+    Configuration <configurations-ref>
 
 .. toctree::
     :hidden:

Reply via email to