
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfiguration.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.kendra.kotlin.outputs
import kotlin.Suppress
/**
*
* @property confluenceConfiguration Provides the configuration information to connect to Confluence as your data source.
* @property databaseConfiguration Provides the configuration information to connect to a database as your data source.
* @property googleDriveConfiguration Provides the configuration information to connect to Google Drive as your data source.
* @property oneDriveConfiguration Provides the configuration information to connect to Microsoft OneDrive as your data source.
* @property s3Configuration Provides the configuration information to connect to an Amazon S3 bucket as your data source.
* > Amazon Kendra now supports an upgraded Amazon S3 connector.
* >
* > You must now use the [TemplateConfiguration](https://docs.aws.amazon.com/kendra/latest/APIReference/API_TemplateConfiguration.html) object instead of the `S3DataSourceConfiguration` object to configure your connector.
* >
* > Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
* >
* > We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
* @property salesforceConfiguration Provides the configuration information to connect to Salesforce as your data source.
* @property serviceNowConfiguration Provides the configuration information to connect to ServiceNow as your data source.
* @property sharePointConfiguration Provides the configuration information to connect to Microsoft SharePoint as your data source.
* @property webCrawlerConfiguration Provides the configuration information required for Amazon Kendra Web Crawler.
* @property workDocsConfiguration Provides the configuration information to connect to Amazon WorkDocs as your data source.
*/
public data class DataSourceConfiguration(
public val confluenceConfiguration: DataSourceConfluenceConfiguration? = null,
public val databaseConfiguration: DataSourceDatabaseConfiguration? = null,
public val googleDriveConfiguration: DataSourceGoogleDriveConfiguration? = null,
public val oneDriveConfiguration: DataSourceOneDriveConfiguration? = null,
public val s3Configuration: DataSourceS3DataSourceConfiguration? = null,
public val salesforceConfiguration: DataSourceSalesforceConfiguration? = null,
public val serviceNowConfiguration: DataSourceServiceNowConfiguration? = null,
public val sharePointConfiguration: DataSourceSharePointConfiguration? = null,
public val webCrawlerConfiguration: DataSourceWebCrawlerConfiguration? = null,
public val workDocsConfiguration: DataSourceWorkDocsConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceConfiguration): DataSourceConfiguration = DataSourceConfiguration(
confluenceConfiguration = javaType.confluenceConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
databaseConfiguration = javaType.databaseConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceDatabaseConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
googleDriveConfiguration = javaType.googleDriveConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceGoogleDriveConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
oneDriveConfiguration = javaType.oneDriveConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceOneDriveConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
s3Configuration = javaType.s3Configuration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceS3DataSourceConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
salesforceConfiguration = javaType.salesforceConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceSalesforceConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
serviceNowConfiguration = javaType.serviceNowConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceServiceNowConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
sharePointConfiguration = javaType.sharePointConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceSharePointConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
webCrawlerConfiguration = javaType.webCrawlerConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
workDocsConfiguration = javaType.workDocsConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWorkDocsConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy