# VirtualMFADeviceReference

A reference to a VirtualMFADevice resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as interfaces_iam } from 'aws-cdk-lib/interfaces';
const virtualMFADeviceReference: interfaces_iam.VirtualMFADeviceReference = {
  serialNumber: 'serialNumber',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iam as interfaces_iam

virtual_mfa_device_reference = interfaces_iam.VirtualMFADeviceReference(
    serial_number="serialNumber"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iam.*;

VirtualMFADeviceReference virtualMFADeviceReference = VirtualMFADeviceReference.builder()
        .serialNumber("serialNumber")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.IAM;

var virtualMFADeviceReference = new VirtualMFADeviceReference {
    SerialNumber = "serialNumber"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

virtualMFADeviceReference := &VirtualMFADeviceReference{
	SerialNumber: jsii.String("serialNumber"),
}
```

## Properties

- `serialNumber`: string (required) — The SerialNumber of the VirtualMFADevice resource.
