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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

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_dateTime

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

Returns:

  • (Time)


7238
7239
7240
7241
7242
7243
# File 'lib/aws-sdk-iam/types.rb', line 7238

class MFADevice < Struct.new(
  :user_name,
  :serial_number,
  :enable_date)
  include Aws::Structure
end

#serial_numberString

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

Returns:

  • (String)


7238
7239
7240
7241
7242
7243
# File 'lib/aws-sdk-iam/types.rb', line 7238

class MFADevice < Struct.new(
  :user_name,
  :serial_number,
  :enable_date)
  include Aws::Structure
end

#user_nameString

The user with whom the MFA device is associated.

Returns:

  • (String)


7238
7239
7240
7241
7242
7243
# File 'lib/aws-sdk-iam/types.rb', line 7238

class MFADevice < Struct.new(
  :user_name,
  :serial_number,
  :enable_date)
  include Aws::Structure
end