io.burkard.cdk.services.mwaa.cfnEnvironment.NetworkConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.mwaa.cfnEnvironment
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NetworkConfigurationProperty {
def apply(
subnetIds: Option[List[String]] = None,
securityGroupIds: Option[List[String]] = None
): software.amazon.awscdk.services.mwaa.CfnEnvironment.NetworkConfigurationProperty =
(new software.amazon.awscdk.services.mwaa.CfnEnvironment.NetworkConfigurationProperty.Builder)
.subnetIds(subnetIds.map(_.asJava).orNull)
.securityGroupIds(securityGroupIds.map(_.asJava).orNull)
.build()
}