io.burkard.cdk.services.kendra.cfnDataSource.HookConfigurationProperty.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 HookConfigurationProperty {
def apply(
s3Bucket: String,
lambdaArn: String,
invocationCondition: Option[software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeConditionProperty] = None
): software.amazon.awscdk.services.kendra.CfnDataSource.HookConfigurationProperty =
(new software.amazon.awscdk.services.kendra.CfnDataSource.HookConfigurationProperty.Builder)
.s3Bucket(s3Bucket)
.lambdaArn(lambdaArn)
.invocationCondition(invocationCondition.orNull)
.build()
}