io.burkard.cdk.services.iot.CfnAuthorizerProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iot
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAuthorizerProps {
def apply(
authorizerFunctionArn: String,
tokenSigningPublicKeys: Option[Map[String, String]] = None,
signingDisabled: Option[Boolean] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
authorizerName: Option[String] = None,
status: Option[String] = None,
tokenKeyName: Option[String] = None,
enableCachingForHttp: Option[Boolean] = None
): software.amazon.awscdk.services.iot.CfnAuthorizerProps =
(new software.amazon.awscdk.services.iot.CfnAuthorizerProps.Builder)
.authorizerFunctionArn(authorizerFunctionArn)
.tokenSigningPublicKeys(tokenSigningPublicKeys.map(_.asJava).orNull)
.signingDisabled(signingDisabled.map(Boolean.box).orNull)
.tags(tags.map(_.asJava).orNull)
.authorizerName(authorizerName.orNull)
.status(status.orNull)
.tokenKeyName(tokenKeyName.orNull)
.enableCachingForHttp(enableCachingForHttp.map(Boolean.box).orNull)
.build()
}