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