com.pulumi.aws.opensearch.kotlin.outputs.DomainCognitoOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.opensearch.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Whether Amazon Cognito authentication with Dashboard is enabled or not. Default is `false`.
* @property identityPoolId ID of the Cognito Identity Pool to use.
* @property roleArn ARN of the IAM role that has the AmazonOpenSearchServiceCognitoAccess policy attached.
* @property userPoolId ID of the Cognito User Pool to use.
*/
public data class DomainCognitoOptions(
public val enabled: Boolean? = null,
public val identityPoolId: String,
public val roleArn: String,
public val userPoolId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.opensearch.outputs.DomainCognitoOptions): DomainCognitoOptions = DomainCognitoOptions(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
identityPoolId = javaType.identityPoolId(),
roleArn = javaType.roleArn(),
userPoolId = javaType.userPoolId(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy