io.burkard.cdk.services.apigatewayv2.cfnAuthorizer.JWTConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.apigatewayv2.cfnAuthorizer
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object JWTConfigurationProperty {
def apply(
audience: Option[List[String]] = None,
issuer: Option[String] = None
): software.amazon.awscdk.services.apigatewayv2.CfnAuthorizer.JWTConfigurationProperty =
(new software.amazon.awscdk.services.apigatewayv2.CfnAuthorizer.JWTConfigurationProperty.Builder)
.audience(audience.map(_.asJava).orNull)
.issuer(issuer.orNull)
.build()
}