io.burkard.cdk.services.ec2.PrivateSubnetAttributes.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PrivateSubnetAttributes {
def apply(
subnetId: Option[String] = None,
availabilityZone: Option[String] = None,
routeTableId: Option[String] = None,
ipv4CidrBlock: Option[String] = None
): software.amazon.awscdk.services.ec2.PrivateSubnetAttributes =
(new software.amazon.awscdk.services.ec2.PrivateSubnetAttributes.Builder)
.subnetId(subnetId.orNull)
.availabilityZone(availabilityZone.orNull)
.routeTableId(routeTableId.orNull)
.ipv4CidrBlock(ipv4CidrBlock.orNull)
.build()
}