io.burkard.cdk.services.ecs.CloudMapNamespaceOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CloudMapNamespaceOptions {
def apply(
name: String,
`type`: Option[software.amazon.awscdk.services.servicediscovery.NamespaceType] = None,
vpc: Option[software.amazon.awscdk.services.ec2.IVpc] = None
): software.amazon.awscdk.services.ecs.CloudMapNamespaceOptions =
(new software.amazon.awscdk.services.ecs.CloudMapNamespaceOptions.Builder)
.name(name)
.`type`(`type`.orNull)
.vpc(vpc.orNull)
.build()
}