user#

async idem_aws.exec.aws.iam.user.list_(hub, ctx)[source]#

Lists AWS IAM Users.

Returns:

result(bool):

Whether the result of the function has been successful (True) or not (False).

comment(list):

A list of messages.

ret(dict or None):

The IAM Policies in “present” format.

Return type:

Dict[bool, list, dict or None]

Examples

Calling this exec module function from the cli:

idem exec aws.iam.user.list

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.iam.user.list