com.pulumi.awsnative.appstream.kotlin.outputs.GetDirectoryConfigResult.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property certificateBasedAuthProperties The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.
* @property organizationalUnitDistinguishedNames The distinguished names of the organizational units for computer accounts.
* @property serviceAccountCredentials The credentials for the service account used by the streaming instance to connect to the directory. Do not use this parameter directly. Use `ServiceAccountCredentials` as an input parameter with `noEcho` as shown in the [Parameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html) . For best practices information, see [Do Not Embed Credentials in Your Templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/best-practices.html#creds) .
*/
public data class GetDirectoryConfigResult(
public val certificateBasedAuthProperties: DirectoryConfigCertificateBasedAuthProperties? = null,
public val organizationalUnitDistinguishedNames: List? = null,
public val serviceAccountCredentials: DirectoryConfigServiceAccountCredentials? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appstream.outputs.GetDirectoryConfigResult): GetDirectoryConfigResult = GetDirectoryConfigResult(
certificateBasedAuthProperties = javaType.certificateBasedAuthProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appstream.kotlin.outputs.DirectoryConfigCertificateBasedAuthProperties.Companion.toKotlin(args0)
})
}).orElse(null),
organizationalUnitDistinguishedNames = javaType.organizationalUnitDistinguishedNames().map({ args0 ->
args0
}),
serviceAccountCredentials = javaType.serviceAccountCredentials().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appstream.kotlin.outputs.DirectoryConfigServiceAccountCredentials.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}