io.burkard.cdk.services.lambda.FunctionUrlOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FunctionUrlOptions {
def apply(
authType: Option[software.amazon.awscdk.services.lambda.FunctionUrlAuthType] = None,
cors: Option[software.amazon.awscdk.services.lambda.FunctionUrlCorsOptions] = None
): software.amazon.awscdk.services.lambda.FunctionUrlOptions =
(new software.amazon.awscdk.services.lambda.FunctionUrlOptions.Builder)
.authType(authType.orNull)
.cors(cors.orNull)
.build()
}