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)


7535
7536
7537
7538
7539
7540
7541
# File 'lib/aws-sdk-iam/types.rb', line 7535

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)


7535
7536
7537
7538
7539
7540
7541
# File 'lib/aws-sdk-iam/types.rb', line 7535

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)


7535
7536
7537
7538
7539
7540
7541
# File 'lib/aws-sdk-iam/types.rb', line 7535

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