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

Class: Aws::IAM::Types::MFADevice

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

Overview

Contains information about an MFA device.

This data type is used as a response element in the ListMFADevices operation.

Instance Attribute Summary collapse

Instance Attribute Details

#enable_date ⇒ Time

The date when the MFA device was enabled for the user.

Returns:

  • (Time) —

    The date when the MFA device was enabled for the user.

#serial_number ⇒ String

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

Returns:

  • (String) —

    The serial number that uniquely identifies the MFA device.

#user_name ⇒ String

The user with whom the MFA device is associated.

Returns:

  • (String) —

    The user with whom the MFA device is associated.