CurrentUser

Note

Before using anything on this page, please refer to the resources user guide for the most recent guidance on using resources.

class IAM.CurrentUser

A resource representing an AWS Identity and Access Management (IAM) CurrentUser:

import boto3

iam = boto3.resource('iam')
current_user = iam.CurrentUser()

Attributes

Attributes provide access to the properties of a resource. Attributes are lazy-loaded the first time one is accessed via the load() method. For more information about attributes refer to the Resources Introduction Guide.

These are the resource's available attributes:

References

References are related resource instances that have a belongs-to relationship. For more information about references refer to the Resources Introduction Guide.

These are the resource's available references:

These are the resource's available references:

Collections

Collections provide an interface to iterate over and manipulate groups of resources. For more information about collections refer to the Resources Introduction Guide.

These are the resource's available collections: