Debian Codegraph @

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

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2022, 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 # Note: If you're updating MODULES, PLUGINS probably needs updating too.
9
10 # Formatted for Modules
11 # - modules don't support 'env'
12 MODULES = r"""
13 options: {}
14 """
15
16 # Formatted for non-module plugins
17 # - modules don't support 'env'
18 PLUGINS = r"""
19 options:
20 assume_role_arn:
21 description:
22 - The ARN of the IAM role to assume to perform the lookup.
23 - You should still provide AWS credentials with enough privilege to perform the AssumeRole action.
24 aliases: ["iam_role_arn"]
25 """