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

com.pulumi.awsnative.bedrock.kotlin.outputs.DataSourceSharePointSourceConfiguration.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.bedrock.kotlin.outputs

import com.pulumi.awsnative.bedrock.kotlin.enums.DataSourceSharePointSourceConfigurationAuthType
import com.pulumi.awsnative.bedrock.kotlin.enums.DataSourceSharePointSourceConfigurationHostType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * The endpoint information to connect to your SharePoint data source.
 * @property authType The supported authentication type to authenticate and connect to your SharePoint site/sites.
 * @property credentialsSecretArn The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
 * @property domain The domain of your SharePoint instance or site URL/URLs.
 * @property hostType The supported host type, whether online/cloud or server/on-premises.
 * @property siteUrls A list of one or more SharePoint site URLs.
 * @property tenantId The identifier of your Microsoft 365 tenant.
 */
public data class DataSourceSharePointSourceConfiguration(
    public val authType: DataSourceSharePointSourceConfigurationAuthType,
    public val credentialsSecretArn: String,
    public val domain: String,
    public val hostType: DataSourceSharePointSourceConfigurationHostType,
    public val siteUrls: List,
    public val tenantId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.DataSourceSharePointSourceConfiguration): DataSourceSharePointSourceConfiguration = DataSourceSharePointSourceConfiguration(
            authType = javaType.authType().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.enums.DataSourceSharePointSourceConfigurationAuthType.Companion.toKotlin(args0)
            }),
            credentialsSecretArn = javaType.credentialsSecretArn(),
            domain = javaType.domain(),
            hostType = javaType.hostType().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.enums.DataSourceSharePointSourceConfigurationHostType.Companion.toKotlin(args0)
            }),
            siteUrls = javaType.siteUrls().map({ args0 -> args0 }),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy