com.pulumi.awsnative.appstream.kotlin.inputs.DirectoryConfigCertificateBasedAuthPropertiesArgs.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.appstream.kotlin.inputs
import com.pulumi.awsnative.appstream.inputs.DirectoryConfigCertificateBasedAuthPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property certificateAuthorityArn The ARN of the AWS Certificate Manager Private CA resource.
* @property status The status of the certificate-based authentication properties. Fallback is turned on by default when certificate-based authentication is *Enabled* . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. *Enabled_no_directory_login_fallback* enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
*/
public data class DirectoryConfigCertificateBasedAuthPropertiesArgs(
public val certificateAuthorityArn: Output? = null,
public val status: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appstream.inputs.DirectoryConfigCertificateBasedAuthPropertiesArgs =
com.pulumi.awsnative.appstream.inputs.DirectoryConfigCertificateBasedAuthPropertiesArgs.builder()
.certificateAuthorityArn(certificateAuthorityArn?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DirectoryConfigCertificateBasedAuthPropertiesArgs].
*/
@PulumiTagMarker
public class DirectoryConfigCertificateBasedAuthPropertiesArgsBuilder internal constructor() {
private var certificateAuthorityArn: Output? = null
private var status: Output? = null
/**
* @param value The ARN of the AWS Certificate Manager Private CA resource.
*/
@JvmName("eastakqlnvylljri")
public suspend fun certificateAuthorityArn(`value`: Output) {
this.certificateAuthorityArn = value
}
/**
* @param value The status of the certificate-based authentication properties. Fallback is turned on by default when certificate-based authentication is *Enabled* . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. *Enabled_no_directory_login_fallback* enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
*/
@JvmName("vkxtmgxoiiodgtax")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value The ARN of the AWS Certificate Manager Private CA resource.
*/
@JvmName("wnfcohooqiabpolq")
public suspend fun certificateAuthorityArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateAuthorityArn = mapped
}
/**
* @param value The status of the certificate-based authentication properties. Fallback is turned on by default when certificate-based authentication is *Enabled* . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. *Enabled_no_directory_login_fallback* enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
*/
@JvmName("cvjbhaercoeegtps")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): DirectoryConfigCertificateBasedAuthPropertiesArgs =
DirectoryConfigCertificateBasedAuthPropertiesArgs(
certificateAuthorityArn = certificateAuthorityArn,
status = status,
)
}