io.burkard.cdk.services.kendra.cfnIndex.UserTokenConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kendra.cfnIndex
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object UserTokenConfigurationProperty {
def apply(
jsonTokenTypeConfiguration: Option[software.amazon.awscdk.services.kendra.CfnIndex.JsonTokenTypeConfigurationProperty] = None,
jwtTokenTypeConfiguration: Option[software.amazon.awscdk.services.kendra.CfnIndex.JwtTokenTypeConfigurationProperty] = None
): software.amazon.awscdk.services.kendra.CfnIndex.UserTokenConfigurationProperty =
(new software.amazon.awscdk.services.kendra.CfnIndex.UserTokenConfigurationProperty.Builder)
.jsonTokenTypeConfiguration(jsonTokenTypeConfiguration.orNull)
.jwtTokenTypeConfiguration(jwtTokenTypeConfiguration.orNull)
.build()
}