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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 action.

Instance Attribute Summary collapse

Instance Attribute Details

#enable_dateTime

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

Returns:

  • (Time)


5702
5703
5704
5705
5706
5707
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5702

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)


5702
5703
5704
5705
5706
5707
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5702

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)


5702
5703
5704
5705
5706
5707
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5702

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