All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iam.kotlin.outputs.GetVirtualMfaDeviceResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iam.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property serialNumber Returns the serial number for the specified `AWS::IAM::VirtualMFADevice` resource.
 * @property tags A list of tags that you want to attach to the new IAM virtual MFA device. Each tag consists of a key name and an associated value. For more information about tagging, see [Tagging IAM resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the *IAM User Guide* .
 * > If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
 * @property users The IAM user associated with this virtual MFA device.
 */
public data class GetVirtualMfaDeviceResult(
    public val serialNumber: String? = null,
    public val tags: List? = null,
    public val users: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iam.outputs.GetVirtualMfaDeviceResult): GetVirtualMfaDeviceResult = GetVirtualMfaDeviceResult(
            serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            users = javaType.users().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy