User

class User

Contains information about an IAM user entity.

This data type is used as a response element in the following operations:

  • CreateUser

  • GetUser

  • ListUsers

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.

Link copied to clipboard

The date and time, in ISO 8601 date-time format, when the user was created.

Link copied to clipboard

The date and time, in ISO 8601 date-time format, when the user's password was last used to sign in to an Amazon Web Services website. For a list of Amazon Web Services websites that capture a user's last sign-in time, see the Credential reports topic in the IAM User Guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. If the field is null (no value), then it indicates that they never signed in with a password. This can be because:

Link copied to clipboard

The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.

Link copied to clipboard

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

Link copied to clipboard
val tags: List<Tag>?

A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Link copied to clipboard

The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.

Link copied to clipboard

The friendly name identifying the user.

Functions

Link copied to clipboard
inline fun copy(block: User.Builder.() -> Unit = {}): User
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String