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

com.pulumi.aws.opensearch.kotlin.outputs.DomainCognitoOptions.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.57.0.0
Show newest version
@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