io.burkard.cdk.services.sam.VpcConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam
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: List[String],
subnetIds: List[String]
): software.amazon.awscdk.services.sam.CfnFunction.VpcConfigProperty =
(new software.amazon.awscdk.services.sam.CfnFunction.VpcConfigProperty.Builder)
.securityGroupIds(securityGroupIds.asJava)
.subnetIds(subnetIds.asJava)
.build()
}