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

com.pulumi.awsnative.iot.kotlin.inputs.DomainConfigurationAuthorizerConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iot.kotlin.inputs

import com.pulumi.awsnative.iot.inputs.DomainConfigurationAuthorizerConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property allowAuthorizerOverride A Boolean that specifies whether the domain configuration's authorization service can be overridden.
 * @property defaultAuthorizerName The name of the authorization service for a domain configuration.
 */
public data class DomainConfigurationAuthorizerConfigArgs(
    public val allowAuthorizerOverride: Output? = null,
    public val defaultAuthorizerName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iot.inputs.DomainConfigurationAuthorizerConfigArgs =
        com.pulumi.awsnative.iot.inputs.DomainConfigurationAuthorizerConfigArgs.builder()
            .allowAuthorizerOverride(allowAuthorizerOverride?.applyValue({ args0 -> args0 }))
            .defaultAuthorizerName(defaultAuthorizerName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainConfigurationAuthorizerConfigArgs].
 */
@PulumiTagMarker
public class DomainConfigurationAuthorizerConfigArgsBuilder internal constructor() {
    private var allowAuthorizerOverride: Output? = null

    private var defaultAuthorizerName: Output? = null

    /**
     * @param value A Boolean that specifies whether the domain configuration's authorization service can be overridden.
     */
    @JvmName("mwbembihiyjyhpck")
    public suspend fun allowAuthorizerOverride(`value`: Output) {
        this.allowAuthorizerOverride = value
    }

    /**
     * @param value The name of the authorization service for a domain configuration.
     */
    @JvmName("crnatxmhujbypwke")
    public suspend fun defaultAuthorizerName(`value`: Output) {
        this.defaultAuthorizerName = value
    }

    /**
     * @param value A Boolean that specifies whether the domain configuration's authorization service can be overridden.
     */
    @JvmName("ganorypmkmnnunox")
    public suspend fun allowAuthorizerOverride(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowAuthorizerOverride = mapped
    }

    /**
     * @param value The name of the authorization service for a domain configuration.
     */
    @JvmName("vonxcsxbckorotvu")
    public suspend fun defaultAuthorizerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultAuthorizerName = mapped
    }

    internal fun build(): DomainConfigurationAuthorizerConfigArgs =
        DomainConfigurationAuthorizerConfigArgs(
            allowAuthorizerOverride = allowAuthorizerOverride,
            defaultAuthorizerName = defaultAuthorizerName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy