Debian Codegraph @

ansible_collections/amazon/aws/plugins/doc_fragments/region.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2015, Ansible, Inc
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6
7 class ModuleDocFragment:
8 # Common configuration for all AWS services
9 # Note: If you're updating MODULES, PLUGINS probably needs updating too.
10
11 # Formatted for Modules
12 # - modules don't support 'env'
13 MODULES = r"""
14 options:
15 region:
16 description:
17 - The AWS region to use.
18 - For global services such as IAM, Route53 and CloudFront, I(region)
19 is ignored.
20 - The C(AWS_REGION) environment variable may also be used.
21 - See the Amazon AWS documentation for more information
22 U(http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).
23 type: str
24 aliases: [ aws_region ]
25 """
26
27 # Formatted for non-module plugins
28 # - modules don't support 'env'
29 PLUGINS = r"""
30 options:
31 region:
32 description:
33 - The AWS region to use.
34 - See the Amazon AWS documentation for more information
35 U(http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).
36 type: str
37 aliases: [ aws_region ]
38 env:
39 - name: AWS_REGION
40 """