com.pulumi.awsnative.rolesanywhere.kotlin.inputs.ProfileMappingRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rolesanywhere.kotlin.inputs
import com.pulumi.awsnative.rolesanywhere.inputs.ProfileMappingRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 specifier Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
*/
public data class ProfileMappingRuleArgs(
public val specifier: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rolesanywhere.inputs.ProfileMappingRuleArgs =
com.pulumi.awsnative.rolesanywhere.inputs.ProfileMappingRuleArgs.builder()
.specifier(specifier.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProfileMappingRuleArgs].
*/
@PulumiTagMarker
public class ProfileMappingRuleArgsBuilder internal constructor() {
private var specifier: Output? = null
/**
* @param value Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
*/
@JvmName("gmngkhqmwdgjuidu")
public suspend fun specifier(`value`: Output) {
this.specifier = value
}
/**
* @param value Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
*/
@JvmName("ellhfqhwirfspvmp")
public suspend fun specifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.specifier = mapped
}
internal fun build(): ProfileMappingRuleArgs = ProfileMappingRuleArgs(
specifier = specifier ?: throw PulumiNullFieldException("specifier"),
)
}