
com.pulumi.awsnative.opensearchservice.kotlin.outputs.DomainSamlOptions.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.opensearchservice.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled True to enable SAML authentication for a domain.
* @property idp The SAML Identity Provider's information.
* @property masterBackendRole The backend role that the SAML master user is mapped to.
* @property masterUserName The SAML master user name, which is stored in the domain's internal user database.
* @property rolesKey Element of the SAML assertion to use for backend roles. Default is `roles` .
* @property sessionTimeoutMinutes The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
* @property subjectKey Element of the SAML assertion to use for the user name. Default is `NameID` .
*/
public data class DomainSamlOptions(
public val enabled: Boolean? = null,
public val idp: DomainIdp? = null,
public val masterBackendRole: String? = null,
public val masterUserName: String? = null,
public val rolesKey: String? = null,
public val sessionTimeoutMinutes: Int? = null,
public val subjectKey: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.opensearchservice.outputs.DomainSamlOptions): DomainSamlOptions = DomainSamlOptions(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
idp = javaType.idp().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.opensearchservice.kotlin.outputs.DomainIdp.Companion.toKotlin(args0)
})
}).orElse(null),
masterBackendRole = javaType.masterBackendRole().map({ args0 -> args0 }).orElse(null),
masterUserName = javaType.masterUserName().map({ args0 -> args0 }).orElse(null),
rolesKey = javaType.rolesKey().map({ args0 -> args0 }).orElse(null),
sessionTimeoutMinutes = javaType.sessionTimeoutMinutes().map({ args0 -> args0 }).orElse(null),
subjectKey = javaType.subjectKey().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy