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

com.pulumi.azure.healthcare.kotlin.inputs.ServiceAuthenticationConfigurationArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.healthcare.kotlin.inputs

import com.pulumi.azure.healthcare.inputs.ServiceAuthenticationConfigurationArgs.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 audience The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
 * @property authority The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider.
 * Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
 * @property smartProxyEnabled (Boolean) Enables the 'SMART on FHIR' option for mobile and web implementations.
 */
public data class ServiceAuthenticationConfigurationArgs(
    public val audience: Output? = null,
    public val authority: Output? = null,
    public val smartProxyEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.healthcare.inputs.ServiceAuthenticationConfigurationArgs =
        com.pulumi.azure.healthcare.inputs.ServiceAuthenticationConfigurationArgs.builder()
            .audience(audience?.applyValue({ args0 -> args0 }))
            .authority(authority?.applyValue({ args0 -> args0 }))
            .smartProxyEnabled(smartProxyEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceAuthenticationConfigurationArgs].
 */
@PulumiTagMarker
public class ServiceAuthenticationConfigurationArgsBuilder internal constructor() {
    private var audience: Output? = null

    private var authority: Output? = null

    private var smartProxyEnabled: Output? = null

    /**
     * @param value The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
     */
    @JvmName("uwesywqmwcbrbiff")
    public suspend fun audience(`value`: Output) {
        this.audience = value
    }

    /**
     * @param value The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider.
     * Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
     */
    @JvmName("rivouqimnadijjeb")
    public suspend fun authority(`value`: Output) {
        this.authority = value
    }

    /**
     * @param value (Boolean) Enables the 'SMART on FHIR' option for mobile and web implementations.
     */
    @JvmName("raufkancookfehxq")
    public suspend fun smartProxyEnabled(`value`: Output) {
        this.smartProxyEnabled = value
    }

    /**
     * @param value The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
     */
    @JvmName("nveadplkyygydgqh")
    public suspend fun audience(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audience = mapped
    }

    /**
     * @param value The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider.
     * Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
     */
    @JvmName("dvksuobmsrywgrpn")
    public suspend fun authority(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authority = mapped
    }

    /**
     * @param value (Boolean) Enables the 'SMART on FHIR' option for mobile and web implementations.
     */
    @JvmName("ewgdxswhmkwnvsmx")
    public suspend fun smartProxyEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.smartProxyEnabled = mapped
    }

    internal fun build(): ServiceAuthenticationConfigurationArgs =
        ServiceAuthenticationConfigurationArgs(
            audience = audience,
            authority = authority,
            smartProxyEnabled = smartProxyEnabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy