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

com.pulumi.awsnative.iotsitewise.kotlin.inputs.AccessPolicyIamUserArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotsitewise.kotlin.inputs

import com.pulumi.awsnative.iotsitewise.inputs.AccessPolicyIamUserArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Contains information for an IAM user identity in an access policy.
 * @property arn The ARN of the IAM user.
 */
public data class AccessPolicyIamUserArgs(
    public val arn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotsitewise.inputs.AccessPolicyIamUserArgs =
        com.pulumi.awsnative.iotsitewise.inputs.AccessPolicyIamUserArgs.builder()
            .arn(arn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccessPolicyIamUserArgs].
 */
@PulumiTagMarker
public class AccessPolicyIamUserArgsBuilder internal constructor() {
    private var arn: Output? = null

    /**
     * @param value The ARN of the IAM user.
     */
    @JvmName("jinrejgojxiruiqj")
    public suspend fun arn(`value`: Output) {
        this.arn = value
    }

    /**
     * @param value The ARN of the IAM user.
     */
    @JvmName("bvtwnxyuvjwhkutj")
    public suspend fun arn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arn = mapped
    }

    internal fun build(): AccessPolicyIamUserArgs = AccessPolicyIamUserArgs(
        arn = arn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy