Class AWS::IAM::MFADevice
In: lib/aws/iam/mfa_device.rb
Parent: Object

Methods

deactivate   delete   new  

Included Modules

Core::Model

Attributes

serial_number  [R]  @return [String] Returns the MFA device‘s serial number
user  [R]  @return [User] Returns the MFA device‘s user.

Public Class methods

@param [User] user The user the MFA device is associated with. @param [String] serial_number The MFA device‘s unique serial number.

Public Instance methods

Deactivates the MFA device and removes it from association with the user for which it was originally enabled. You must call {MFADeviceCollection#enable} to enable the device again.

@return [nil]

delete()

Alias for deactivate

[Validate]