ServiceResource / Sub-Resource / MfaDevice
MfaDevice#
- IAM.ServiceResource.MfaDevice(user_name, serial_number)#
Creates a MfaDevice resource.:
mfa_device = iam.MfaDevice('user_name','serial_number')
- Parameters:
user_name (string) – The MfaDevice’s user_name identifier. This must be set.
serial_number (string) – The MfaDevice’s serial_number identifier. This must be set.
- Return type:
- Returns:
A MfaDevice resource