io.burkard.cdk.services.sam.HttpApiAuthProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HttpApiAuthProperty {
def apply(
authorizers: Option[AnyRef] = None,
defaultAuthorizer: Option[String] = None
): software.amazon.awscdk.services.sam.CfnHttpApi.HttpApiAuthProperty =
(new software.amazon.awscdk.services.sam.CfnHttpApi.HttpApiAuthProperty.Builder)
.authorizers(authorizers.orNull)
.defaultAuthorizer(defaultAuthorizer.orNull)
.build()
}