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)

8184
8185
8186
8187
8188
8189
8190
# File 'lib/aws-sdk-iam/types.rb', line 8184

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)

8184
8185
8186
8187
8188
8189
8190
# File 'lib/aws-sdk-iam/types.rb', line 8184

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)

8184
8185
8186
8187
8188
8189
8190
# File 'lib/aws-sdk-iam/types.rb', line 8184

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