AWS Fundamentals Logo
AWS Fundamentals
AWS::IAM::VirtualMFADevice

IAM VirtualMFADevice

Resource Type definition for AWS::IAM::VirtualMFADevice

Properties

4 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Users
Array<string>
Required
Path
string
Create-only
Tags
Array<Tag>
VirtualMfaDeviceName
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
SerialNumberstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IAM::VirtualMFADevice

Resources:
  MyResource:
    Type: AWS::IAM::VirtualMFADevice
    Properties:
      Users: []
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

iam:CreateVirtualMFADeviceiam:EnableMFADeviceiam:ListVirtualMFADevices

read

iam:ListVirtualMFADevices

update

iam:TagMFADeviceiam:UntagMFADevice

delete

iam:DeleteVirtualMFADeviceiam:DeactivateMFADevice

list

iam:ListVirtualMFADevices

Get the IAM Cheat Sheet

Everything you need to know about IAM on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceIAM
Properties5
Required1
TaggingNot supported
Primary IDSerialNumber

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

VirtualMfaDeviceNameBase32StringSeedPath

External Links