![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iam.kotlin.inputs.GetInstanceProfilePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iam.kotlin.inputs
import com.pulumi.awsnative.iam.inputs.GetInstanceProfilePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property instanceProfileName The name of the instance profile to create.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
*/
public data class GetInstanceProfilePlainArgs(
public val instanceProfileName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iam.inputs.GetInstanceProfilePlainArgs =
com.pulumi.awsnative.iam.inputs.GetInstanceProfilePlainArgs.builder()
.instanceProfileName(instanceProfileName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetInstanceProfilePlainArgs].
*/
@PulumiTagMarker
public class GetInstanceProfilePlainArgsBuilder internal constructor() {
private var instanceProfileName: String? = null
/**
* @param value The name of the instance profile to create.
* This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
*/
@JvmName("khpyhrmclfkhpsfc")
public suspend fun instanceProfileName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.instanceProfileName = mapped
}
internal fun build(): GetInstanceProfilePlainArgs = GetInstanceProfilePlainArgs(
instanceProfileName = instanceProfileName ?: throw PulumiNullFieldException("instanceProfileName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy