You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Macie2::Types::UserIdentity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Provides information about the type and other characteristics of an entity that performed an action on an affected resource.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#assumed_roleTypes::AssumedRole

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API.

Returns:

  • (Types::AssumedRole)

    Provides information about an identity that performed an action on an affected resource by using temporary security credentials.

#aws_accountTypes::AwsAccount

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for an AWS account other than your own account.

Returns:

  • (Types::AwsAccount)

    Provides information about an AWS account and entity that performed an action on an affected resource.

#aws_serviceTypes::AwsService

Provides information about an AWS service that performed an action on an affected resource.

Returns:

  • (Types::AwsService)

    Provides information about an AWS service that performed an action on an affected resource.

    .

#federated_userTypes::FederatedUser

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API.

Returns:

  • (Types::FederatedUser)

    Provides information about an identity that performed an action on an affected resource by using temporary security credentials.

#iam_userTypes::IamUser

Provides information about an AWS Identity and Access Management (IAM) user who performed an action on an affected resource.

Returns:

  • (Types::IamUser)

    Provides information about an AWS Identity and Access Management (IAM) user who performed an action on an affected resource.

    .

#rootTypes::UserIdentityRoot

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for your AWS account.

Returns:

  • (Types::UserIdentityRoot)

    Provides information about an AWS account and entity that performed an action on an affected resource.

#typeString

The type of entity that performed the action on the affected resource. Possible values are:

Possible values:

  • AssumedRole
  • IAMUser
  • FederatedUser
  • Root
  • AWSAccount
  • AWSService

Returns:

  • (String)

    The type of entity that performed the action on the affected resource.