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

com.pulumi.awsnative.verifiedpermissions.kotlin.outputs.GetIdentitySourceResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.verifiedpermissions.kotlin.outputs

import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property configuration Contains configuration information used when creating a new identity source.
 * @property details
 * @property identitySourceId The unique ID of the new or updated identity store.
 * @property principalEntityType Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
 */
public data class GetIdentitySourceResult(
    public val configuration: Either? =
        null,
    public val details: IdentitySourceDetails? = null,
    public val identitySourceId: String? = null,
    public val principalEntityType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.verifiedpermissions.outputs.GetIdentitySourceResult): GetIdentitySourceResult = GetIdentitySourceResult(
            configuration = javaType.configuration().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.verifiedpermissions.kotlin.outputs.IdentitySourceConfiguration0Properties.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.verifiedpermissions.kotlin.outputs.IdentitySourceConfiguration1Properties.Companion.toKotlin(args0)
                        })
                    },
                )
            }).orElse(null),
            details = javaType.details().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.verifiedpermissions.kotlin.outputs.IdentitySourceDetails.Companion.toKotlin(args0)
                })
            }).orElse(null),
            identitySourceId = javaType.identitySourceId().map({ args0 -> args0 }).orElse(null),
            principalEntityType = javaType.principalEntityType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy