io.burkard.cdk.services.lambda.VpcConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VpcConfigProperty {
def apply(
securityGroupIds: Option[List[String]] = None,
subnetIds: Option[List[String]] = None
): software.amazon.awscdk.services.lambda.CfnFunction.VpcConfigProperty =
(new software.amazon.awscdk.services.lambda.CfnFunction.VpcConfigProperty.Builder)
.securityGroupIds(securityGroupIds.map(_.asJava).orNull)
.subnetIds(subnetIds.map(_.asJava).orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy