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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enable_dateTime

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

Returns:

  • (Time)


7370
7371
7372
7373
7374
7375
7376
# File 'lib/aws-sdk-iam/types.rb', line 7370

class MFADevice < Struct.new(
  :user_name,
  :serial_number,
  :enable_date)
  SENSITIVE = []
  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)


7370
7371
7372
7373
7374
7375
7376
# File 'lib/aws-sdk-iam/types.rb', line 7370

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

#user_nameString

The user with whom the MFA device is associated.

Returns:

  • (String)


7370
7371
7372
7373
7374
7375
7376
# File 'lib/aws-sdk-iam/types.rb', line 7370

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