io.burkard.cdk.services.kendra.cfnDataSource.ConnectionConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kendra.cfnDataSource
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConnectionConfigurationProperty {
def apply(
databasePort: Number,
tableName: String,
databaseName: String,
databaseHost: String,
secretArn: String
): software.amazon.awscdk.services.kendra.CfnDataSource.ConnectionConfigurationProperty =
(new software.amazon.awscdk.services.kendra.CfnDataSource.ConnectionConfigurationProperty.Builder)
.databasePort(databasePort)
.tableName(tableName)
.databaseName(databaseName)
.databaseHost(databaseHost)
.secretArn(secretArn)
.build()
}