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

com.pulumi.awsnative.rolesanywhere.kotlin.inputs.ProfileMappingRuleArgs.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: 0.122.0.0
Show newest version
@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"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy